Свойство | Тип | Описание | |
---|---|---|---|
health | int | ||
monsterUnit |
Метод | Описание | |
---|---|---|
Bite ( ) : void | ||
Die ( ) : void | ||
Draw ( |
This method renders the current state.
|
|
Idle ( ) : void | ||
Monster ( |
||
Run ( ) : void | ||
TakeDamage ( ) : void | ||
Update ( |
Allows the game component to update itself.
|
|
getScore ( ) : int |
public Draw ( |
||
gameTime | The elapsed game time. | |
Результат | void |
public Monster ( |
||
game | ||
model | ||
unit | ||
Результат | System |
public Update ( |
||
gameTime | Provides a snapshot of timing values. | |
Результат | void |