Property | Type | Description | |
---|---|---|---|
PlayerNum | int | ||
Position | Vector3 | ||
TeamNum | int | ||
Tile |
Property | Type | Description | |
---|---|---|---|
goalBase | |||
health | int | ||
scale | float | ||
tile |
Method | Description | |
---|---|---|
Base ( |
||
Base ( int playerNum, int teamNum, BaseType baseType, |
||
Draw ( |
||
GetTile ( ) : |
||
HitBase ( int damage ) : void | ||
IsThereAPathTo ( int tileID, int blockedTile ) : bool | ||
RotateX ( float rotation ) : void | ||
RotateY ( float rotation ) : void | ||
RotateZ ( float rotation ) : void | ||
SetGoalBase ( |
||
SetPlayerNum ( int newPlayerNum ) : void | ||
SetTeamNum ( int newTeamNum ) : void | ||
SetupModel ( |
||
Update ( |
||
UpdateTransforms ( ) : void | ||
UpdateView ( ) : void |
Method | Description | |
---|---|---|
OnBaseDestroyed ( ) : void | ||
SetupCamera ( ) : void |
Sets up default camera information
|
|
SetupModel ( Vector3 position ) : void |
Method | Description | |
---|---|---|
Destroy ( ) : void |
public Base ( |
||
model | ||
return | System |
public Base ( int playerNum, int teamNum, BaseType baseType, |
||
playerNum | int | |
teamNum | int | |
baseType | BaseType | |
tile | ||
return | System |
public Draw ( |
||
gameTime | ||
return | void |
public IsThereAPathTo ( int tileID, int blockedTile ) : bool | ||
tileID | int | |
blockedTile | int | |
return | bool |
public SetPlayerNum ( int newPlayerNum ) : void | ||
newPlayerNum | int | |
return | void |
public SetupModel ( |
||
newModel | ||
position | Vector3 | |
return | void |
protected SetupModel ( Vector3 position ) : void | ||
position | Vector3 | |
return | void |
public Update ( |
||
gameTime | ||
return | void |