C# 클래스 Descent.Model.Player.Figure.Monster

A monster, controlled by the Overlord
상속: Figure
파일 보기 프로젝트 열기: nezbo/Descent 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( int newID ) : Monster

Returns a clone of the monster, but with a new unique ID

Monster ( int id, string name, bool master, int speed, int health, int armor, EAttackType type, List dice, List abilities, Rectangle size, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System.Collections.Generic

Initializes a new instance of the Monster class.

비공개 메소드들

메소드 설명
ObjectInvariant ( ) : void

메소드 상세

Clone() 공개 메소드

Returns a clone of the monster, but with a new unique ID
public Clone ( int newID ) : Monster
newID int /// The new id of the monser ///
리턴 Monster

Monster() 공개 메소드

Initializes a new instance of the Monster class.
public Monster ( int id, string name, bool master, int speed, int health, int armor, EAttackType type, List dice, List abilities, Rectangle size, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System.Collections.Generic
id int /// The monster id /// This is unique for all monsters, even several instances of /// the same monster. ///
name string /// The name. ///
master bool /// The master. ///
speed int /// The speed. ///
health int /// The health. ///
armor int /// The armor. ///
type EAttackType /// The type. ///
dice List /// The dice. ///
abilities List
size Microsoft.Xna.Framework.Rectangle
texture Microsoft.Xna.Framework.Graphics.Texture2D
리턴 System.Collections.Generic