Свойство | Тип | Описание | |
---|---|---|---|
CurrentTileID | int | ||
Damage | int | ||
Health | int | ||
HealthCapacity | int | ||
ID | int | ||
MoneyToGive | int | ||
PathLength | int | ||
PlayerNum | int | ||
PlayerToAttack | int | ||
Position | Vector3 | ||
Scale | float | ||
Status | UnitStatus | ||
TeamNum | int | ||
Transforms | Matrix | ||
Type | UnitType | ||
XPToGive | int |
Свойство | Тип | Описание | |
---|---|---|---|
currentTile | |||
focalTile | |||
goalTile | |||
health | int | ||
previousTile |
Метод | Описание | |
---|---|---|
Activate ( ) : void | ||
Deploy ( |
||
Draw ( |
||
Equals ( object obj ) : bool | ||
GetPathLength ( ) : int | ||
IsActive ( ) : bool | ||
IsDeployed ( ) : bool | ||
PathToGoal ( ) : List |
||
RotateToFace ( Vector3 O, Vector3 P, Vector3 U ) : void | ||
RotateX ( float rotation ) : void | ||
RotateY ( float rotation ) : void | ||
RotateZ ( float rotation ) : void | ||
SetCurrentTile ( int tileID ) : void | ||
SetFocalPointAndVelocity ( int newTileID ) : void | ||
SetScale ( float newScale ) : void | ||
TakeDamage ( int damage ) : bool | ||
TakeDamage ( int damage ) : void | ||
ToString ( ) : string | ||
Unit ( |
||
Unit ( UnitType unitType ) : System | ||
Update ( |
||
Update ( |
||
UpdatePath ( ) : void | ||
UpdatePositionAndRotation ( ) : void | ||
UpdateScaleRotations ( ) : void | ||
UpdateTargetPlayer ( |
||
UpdateTransforms ( ) : void |
Метод | Описание | |
---|---|---|
CheckIfStuck ( ) : bool | ||
GetTile ( ) : |
||
IsNewTile ( ) : bool | ||
OnDied ( ) : void | ||
SetCurrentTile ( |
||
SetFocalPointAndVelocity ( |
public Deploy ( |
||
baseTile | ||
goalTile | ||
playerToAttack | int | |
Результат | void |
public Draw ( |
||
gameTime | ||
Результат | void |
public RotateToFace ( Vector3 O, Vector3 P, Vector3 U ) : void | ||
O | Vector3 | |
P | Vector3 | |
U | Vector3 | |
Результат | void |
public SetCurrentTile ( int tileID ) : void | ||
tileID | int | |
Результат | void |
public SetFocalPointAndVelocity ( int newTileID ) : void | ||
newTileID | int | |
Результат | void |
public Unit ( |
||
model | ||
goalBase | ||
Результат | System |
public Unit ( UnitType unitType ) : System | ||
unitType | UnitType | |
Результат | System |
public Update ( |
||
gameTime | ||
Результат | bool |
public Update ( |
||
gameTime | ||
Результат | void |
public UpdatePositionAndRotation ( ) : void | ||
Результат | void |
public UpdateTargetPlayer ( |
||
newGoalTile | ||
newTargetPlayer | int | |
Результат | void |
protected Tile,UHSampleGame.TileSystem currentTile | ||
Результат |
protected Tile,UHSampleGame.TileSystem focalTile | ||
Результат |
protected Tile,UHSampleGame.TileSystem goalTile | ||
Результат |