C# Class RTSEngine.Data.Team.RTSBuildingData

Mostrar archivo Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Properties

Property Type Description
ActionControllerInitArgs object
BBox Microsoft.Xna.Framework.BoundingBox
BuildAmount int
CapitalCost int
DefaultActionController ReflectedScript
DefaultButtonControllerInitArgs List
DefaultButtonControllers List
Depositable bool
GridSize Point
Health int
ICollidableShape ICollidable
IconKey string
Impact int
Index int
InfoFile string
IsResource bool
MaxCount int
PopCapChange int
SightRadius int

Public Methods

Method Description
AddButton ( ReflectedScript>.Dictionary d, string key, object initArgs ) : void
Deserialize ( BinaryReader s, GameState state, int index ) : RTSBuildingData
RTSBuildingData ( int i ) : System
Serialize ( BinaryWriter s, RTSBuildingData data ) : void
SetBBox ( Vector3 min, Vector3 max ) : void
SetController ( ReflectedScript>.Dictionary d, string cType, string key ) : void

Method Details

AddButton() public method

public AddButton ( ReflectedScript>.Dictionary d, string key, object initArgs ) : void
d ReflectedScript>.Dictionary
key string
initArgs object
return void

Deserialize() public static method

public static Deserialize ( BinaryReader s, GameState state, int index ) : RTSBuildingData
s System.IO.BinaryReader
state GameState
index int
return RTSBuildingData

RTSBuildingData() public method

public RTSBuildingData ( int i ) : System
i int
return System

Serialize() public static method

public static Serialize ( BinaryWriter s, RTSBuildingData data ) : void
s System.IO.BinaryWriter
data RTSBuildingData
return void

SetBBox() public method

public SetBBox ( Vector3 min, Vector3 max ) : void
min Vector3
max Vector3
return void

SetController() public method

public SetController ( ReflectedScript>.Dictionary d, string cType, string key ) : void
d ReflectedScript>.Dictionary
cType string
key string
return void

Property Details

ActionControllerInitArgs public_oe property

public object ActionControllerInitArgs
return object

BBox public_oe property

public BoundingBox,Microsoft.Xna.Framework BBox
return Microsoft.Xna.Framework.BoundingBox

BuildAmount public_oe property

public int BuildAmount
return int

CapitalCost public_oe property

public int CapitalCost
return int

DefaultActionController public_oe property

public ReflectedScript DefaultActionController
return ReflectedScript

DefaultButtonControllerInitArgs public_oe property

public List DefaultButtonControllerInitArgs
return List

DefaultButtonControllers public_oe property

public List DefaultButtonControllers
return List

Depositable public_oe property

public bool Depositable
return bool

GridSize public_oe property

public Point GridSize
return Point

Health public_oe property

public int Health
return int

ICollidableShape public_oe property

public ICollidable ICollidableShape
return ICollidable

IconKey public_oe property

public string IconKey
return string

Impact public_oe property

public int Impact
return int

Index public_oe property

public int Index
return int

InfoFile public_oe property

public string InfoFile
return string

IsResource public_oe property

public bool IsResource
return bool

MaxCount public_oe property

public int MaxCount
return int

PopCapChange public_oe property

public int PopCapChange
return int

SightRadius public_oe property

public int SightRadius
return int