프로퍼티 | 타입 | 설명 | |
---|---|---|---|
health | int |
메소드 | 설명 | |
---|---|---|
PlayerUnit ( |
||
decreaseHealth ( int decreasedHealth ) : void | ||
update ( |
Allows the unit to update itself.
|
public PlayerUnit ( |
||
game | ||
Position | Vector3 | |
Rotation | Vector3 | |
Scale | Vector3 | |
리턴 | System |
public decreaseHealth ( int decreasedHealth ) : void | ||
decreasedHealth | int | |
리턴 | void |
public update ( |
||
gameTime | Provides a snapshot of timing values. | |
리턴 | void |