C# Class RTSEngine.Controllers.GameplayController

Inheritance: IDisposable
Afficher le fichier Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Méthodes publiques

Свойство Type Description
pathfinder RTSEngine.Algorithms.Pathfinder

Méthodes publiques

Méthode Description
BeginPlaying ( GameState s ) : void
Dispose ( ) : void
GameplayController ( ) : System
Init ( GameState s, GCInitArgs args ) : void
IsBuildingDead ( RTSBuilding b ) : bool
IsEntityDead ( IEntity e ) : bool
IsUnitDead ( RTSUnit u ) : bool
OnDevCommand ( string s ) : void
Update ( GameState s, float dt ) : void

Private Methods

Méthode Description
AddTask ( GameState s, RTSBuilding building ) : void
AddTask ( GameState s, RTSBuilding building, int fTeam, int type ) : void
AddTask ( GameState s, RTSSquad squad ) : void
AddTask ( GameState s, RTSUnit unit ) : void
ApplyInput ( GameState s, float dt ) : void
ApplyInput ( GameState s, float dt, CapitalEvent e ) : void
ApplyInput ( GameState s, float dt, DamageEvent e ) : void
ApplyInput ( GameState s, float dt, ImpactEvent e ) : void
ApplyInput ( GameState s, float dt, SelectEvent e ) : void
ApplyInput ( GameState s, float dt, SetOrdersEvent e ) : void
ApplyInput ( GameState s, float dt, SetTargetEvent e ) : void
ApplyInput ( GameState s, float dt, SetWayPointEvent e ) : void
ApplyInput ( GameState s, float dt, SpawnBuildingEvent e ) : void
ApplyInput ( GameState s, float dt, SpawnUnitEvent e ) : void
ApplyLogic ( GameState s, float dt ) : void
ApplyLogic ( GameState s, float dt, DevCommandCapital c ) : void
ApplyLogic ( GameState s, float dt, DevCommandFOW c ) : void
ApplyLogic ( GameState s, float dt, DevCommandKillBuildings c ) : void
ApplyLogic ( GameState s, float dt, DevCommandKillUnits c ) : void
ApplyLogic ( GameState s, float dt, DevCommandSave c ) : void
ApplyLogic ( GameState s, float dt, DevCommandSpawn c ) : void
ApplyLogic ( GameState s, float dt, DevCommandStopMotion c ) : void
ApplySquadQueries ( ) : void
Cleanup ( GameState s, float dt ) : void
IsSquadEmpty ( RTSSquad s ) : bool
ResolveInput ( GameState s, float dt ) : void
ResolvePhysics ( GameState s, float dt ) : void
SendSquadQuery ( GameState s, RTSSquad squad, GameInputEvent e ) : void

Method Details

BeginPlaying() public méthode

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

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GameplayController() public méthode

public GameplayController ( ) : System
Résultat System

Init() public méthode

public Init ( GameState s, GCInitArgs args ) : void
s RTSEngine.Data.GameState
args GCInitArgs
Résultat void

IsBuildingDead() public static méthode

public static IsBuildingDead ( RTSBuilding b ) : bool
b RTSEngine.Data.Team.RTSBuilding
Résultat bool

IsEntityDead() public static méthode

public static IsEntityDead ( IEntity e ) : bool
e IEntity
Résultat bool

IsUnitDead() public static méthode

public static IsUnitDead ( RTSUnit u ) : bool
u RTSEngine.Data.Team.RTSUnit
Résultat bool

OnDevCommand() public méthode

public OnDevCommand ( string s ) : void
s string
Résultat void

Update() public méthode

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

Property Details

pathfinder public_oe property

public Pathfinder,RTSEngine.Algorithms pathfinder
Résultat RTSEngine.Algorithms.Pathfinder