C# 클래스 RTSEngine.Data.Team.RTSTeam

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

공개 메소드들

메소드 설명
AddBuilding ( int type, Vector2 pos ) : RTSBuilding
AddSquad ( ) : RTSSquad
AddUnit ( int type, Vector2 pos ) : RTSUnit
Deserialize ( BinaryReader s, int index, GameState state ) : RTSTeam
RTSTeam ( int i, int t ) : System
RemoveAll ( Predicate f, Action fRemoval ) : void
RemoveAll ( Predicate f ) : void
RemoveAll ( Predicate f, Action fRemoval ) : void
Serialize ( BinaryWriter s, RTSTeam team ) : void

비공개 메소드들

메소드 설명
OnBuildingFinished ( RTSBuilding b ) : void

메소드 상세

AddBuilding() 공개 메소드

public AddBuilding ( int type, Vector2 pos ) : RTSBuilding
type int
pos Vector2
리턴 RTSBuilding

AddSquad() 공개 메소드

public AddSquad ( ) : RTSSquad
리턴 RTSSquad

AddUnit() 공개 메소드

public AddUnit ( int type, Vector2 pos ) : RTSUnit
type int
pos Vector2
리턴 RTSUnit

Deserialize() 공개 정적인 메소드

public static Deserialize ( BinaryReader s, int index, GameState state ) : RTSTeam
s System.IO.BinaryReader
index int
state GameState
리턴 RTSTeam

RTSTeam() 공개 메소드

public RTSTeam ( int i, int t ) : System
i int
t int
리턴 System

RemoveAll() 공개 메소드

public RemoveAll ( Predicate f, Action fRemoval ) : void
f Predicate
fRemoval Action
리턴 void

RemoveAll() 공개 메소드

public RemoveAll ( Predicate f ) : void
f Predicate
리턴 void

RemoveAll() 공개 메소드

public RemoveAll ( Predicate f, Action fRemoval ) : void
f Predicate
fRemoval Action
리턴 void

Serialize() 공개 정적인 메소드

public static Serialize ( BinaryWriter s, RTSTeam team ) : void
s System.IO.BinaryWriter
team RTSTeam
리턴 void