Property | Type | Description | |
---|---|---|---|
health | int |
Method | Description | |
---|---|---|
PlayerUnit ( |
||
decreaseHealth ( int decreasedHealth ) : void | ||
update ( |
Allows the unit to update itself.
|
public PlayerUnit ( |
||
game | ||
Position | Vector3 | |
Rotation | Vector3 | |
Scale | Vector3 | |
return | System |
public decreaseHealth ( int decreasedHealth ) : void | ||
decreasedHealth | int | |
return | void |
public update ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |