Property | Type | Description | |
---|---|---|---|
health | int | ||
monsterUnit |
Method | Description | |
---|---|---|
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. | |
return | void |
public Monster ( |
||
game | ||
model | ||
unit | ||
return | System |
public Update ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |