C# 클래스 RTSEngine.Data.GameState

파일 보기 프로젝트 열기: RegrowthStudios/VoxelRTS 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
activeTeams RTSEngine.Data.IndexedTeam[]
gtC ACGameTypeController
scrGTC ReflectedScript
tbMemBuildings RTSEngine.Algorithms.TimeBudget
teams RTSEngine.Data.Team.RTSTeam[]

공개 메소드들

메소드 설명
AddParticle ( Particle p ) : void
AddParticles ( IEnumerable p ) : void
Deserialize ( BinaryReader s, ReflectedScript>.Dictionary res, GameState state ) : void
GameState ( ) : System
GetParticles ( ) : List
IncrementFrame ( float dt ) : void
SendAlert ( string message, AlertLevel level ) : void
SendPopup ( string texFile, Rectangle destination ) : void
Serialize ( BinaryWriter s, GameState state ) : void
SetGrids ( LevelGrid lg ) : void
UpdateActiveTeams ( ) : void

메소드 상세

AddParticle() 공개 메소드

public AddParticle ( Particle p ) : void
p Particle
리턴 void

AddParticles() 공개 메소드

public AddParticles ( IEnumerable p ) : void
p IEnumerable
리턴 void

Deserialize() 공개 정적인 메소드

public static Deserialize ( BinaryReader s, ReflectedScript>.Dictionary res, GameState state ) : void
s System.IO.BinaryReader
res ReflectedScript>.Dictionary
state GameState
리턴 void

GameState() 공개 메소드

public GameState ( ) : System
리턴 System

GetParticles() 공개 메소드

public GetParticles ( ) : List
리턴 List

IncrementFrame() 공개 메소드

public IncrementFrame ( float dt ) : void
dt float
리턴 void

SendAlert() 공개 메소드

public SendAlert ( string message, AlertLevel level ) : void
message string
level AlertLevel
리턴 void

SendPopup() 공개 메소드

public SendPopup ( string texFile, Rectangle destination ) : void
texFile string
destination Microsoft.Xna.Framework.Rectangle
리턴 void

Serialize() 공개 정적인 메소드

public static Serialize ( BinaryWriter s, GameState state ) : void
s System.IO.BinaryWriter
state GameState
리턴 void

SetGrids() 공개 메소드

public SetGrids ( LevelGrid lg ) : void
lg LevelGrid
리턴 void

UpdateActiveTeams() 공개 메소드

public UpdateActiveTeams ( ) : void
리턴 void

프로퍼티 상세

activeTeams 공개적으로 프로퍼티

public IndexedTeam[],RTSEngine.Data activeTeams
리턴 RTSEngine.Data.IndexedTeam[]

gtC 공개적으로 프로퍼티

public ACGameTypeController gtC
리턴 ACGameTypeController

scrGTC 공개적으로 프로퍼티

public ReflectedScript scrGTC
리턴 ReflectedScript

tbMemBuildings 공개적으로 프로퍼티

public TimeBudget,RTSEngine.Algorithms tbMemBuildings
리턴 RTSEngine.Algorithms.TimeBudget

teams 공개적으로 프로퍼티

public RTSTeam[],RTSEngine.Data.Team teams
리턴 RTSEngine.Data.Team.RTSTeam[]