메소드 | 설명 | |
---|---|---|
Clone ( int newID ) : |
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 |
Initializes a new instance of the Monster class.
|
메소드 | 설명 | |
---|---|---|
ObjectInvariant ( ) : void |
public Clone ( int newID ) : |
||
newID | int | /// The new id of the monser /// |
리턴 |
public Monster ( int id, string name, bool master, int speed, int health, int armor, EAttackType type, List |
||
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 | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
리턴 | System.Collections.Generic |