C# Class RTS.Default.Tutorials.Tut0

Inheritance: ACGameTypeController
ファイルを表示 Open project: RegrowthStudios/VoxelRTS

Public Properties

Property Type Description
state int
targetHeight float

Public Methods

Method Description
ApplyFrame ( GameState s, float dt ) : void
CreateVoxels ( Grey atlas ) : List
Deserialize ( BinaryReader s, GameState state ) : void
GetVictoriousTeam ( GameState s ) : int?
LESave ( Grey world, int w, int h, DirectoryInfo dir ) : void
Load ( GameState s, DirectoryInfo mapDir ) : void
Serialize ( BinaryWriter s ) : void
Tick ( GameState s ) : void

Method Details

ApplyFrame() public method

public ApplyFrame ( GameState s, float dt ) : void
s RTSEngine.Data.GameState
dt float
return void

CreateVoxels() public method

public CreateVoxels ( Grey atlas ) : List
atlas Grey
return List

Deserialize() public method

public Deserialize ( BinaryReader s, GameState state ) : void
s System.IO.BinaryReader
state RTSEngine.Data.GameState
return void

GetVictoriousTeam() public method

public GetVictoriousTeam ( GameState s ) : int?
s RTSEngine.Data.GameState
return int?

LESave() public method

public LESave ( Grey world, int w, int h, DirectoryInfo dir ) : void
world Grey
w int
h int
dir System.IO.DirectoryInfo
return void

Load() public method

public Load ( GameState s, DirectoryInfo mapDir ) : void
s RTSEngine.Data.GameState
mapDir System.IO.DirectoryInfo
return void

Serialize() public method

public Serialize ( BinaryWriter s ) : void
s System.IO.BinaryWriter
return void

Tick() public method

public Tick ( GameState s ) : void
s RTSEngine.Data.GameState
return void

Property Details

state public_oe property

public int state
return int

targetHeight public_oe property

public float targetHeight
return float