C# Class RTSEngine.Data.Team.RTSBuilding

Inheritance: IEntity
Mostra file Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Protected Properties

Property Type Description
target IEntity

Private Properties

Property Type Description

Public Methods

Method Description
AddButton ( ACBuildingButtonController b ) : void
Damage ( int d ) : void
Deserialize ( BinaryReader s, RTSTeam team, int &target ) : RTSBuilding
Destroy ( ) : void
GetViewedInfo ( int p ) : bool
RTSBuilding ( RTSTeam team, RTSBuildingData data, Vector2 position ) : System
Serialize ( BinaryWriter s, RTSBuilding e ) : void
SetViewedInfo ( int p, bool b ) : void

Method Details

AddButton() public method

public AddButton ( ACBuildingButtonController b ) : void
b ACBuildingButtonController
return void

Damage() public method

public Damage ( int d ) : void
d int
return void

Deserialize() public static method

public static Deserialize ( BinaryReader s, RTSTeam team, int &target ) : RTSBuilding
s System.IO.BinaryReader
team RTSTeam
target int
return RTSBuilding

Destroy() public method

public Destroy ( ) : void
return void

GetViewedInfo() public method

public GetViewedInfo ( int p ) : bool
p int
return bool

RTSBuilding() public method

public RTSBuilding ( RTSTeam team, RTSBuildingData data, Vector2 position ) : System
team RTSTeam
data RTSBuildingData
position Vector2
return System

Serialize() public static method

public static Serialize ( BinaryWriter s, RTSBuilding e ) : void
s System.IO.BinaryWriter
e RTSBuilding
return void

SetViewedInfo() public method

public SetViewedInfo ( int p, bool b ) : void
p int
b bool
return void

Property Details

target protected_oe property

protected IEntity target
return IEntity