C# Class RTS.Default.Tutorials.Tut0

Inheritance: ACGameTypeController
Afficher le fichier Open project: RegrowthStudios/VoxelRTS

Méthodes publiques

Свойство Type Description
state int
targetHeight float

Méthodes publiques

Méthode 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 méthode

public ApplyFrame ( GameState s, float dt ) : void
s RTSEngine.Data.GameState
dt float
Résultat void

CreateVoxels() public méthode

public CreateVoxels ( Grey atlas ) : List
atlas Grey
Résultat List

Deserialize() public méthode

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

GetVictoriousTeam() public méthode

public GetVictoriousTeam ( GameState s ) : int?
s RTSEngine.Data.GameState
Résultat int?

LESave() public méthode

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

Load() public méthode

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

Serialize() public méthode

public Serialize ( BinaryWriter s ) : void
s System.IO.BinaryWriter
Résultat void

Tick() public méthode

public Tick ( GameState s ) : void
s RTSEngine.Data.GameState
Résultat void

Property Details

state public_oe property

public int state
Résultat int

targetHeight public_oe property

public float targetHeight
Résultat float