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

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

보호된 프로퍼티들

프로퍼티 타입 설명
target IEntity

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AddButton ( ACBuildingButtonController b ) : void
Damage ( int d ) : void
Deserialize ( BinaryReader s, RTSTeam team, int &target ) : RTSBuilding
Destroy ( ) : void
GetViewedInfo ( int p ) : bool
RTSBuilding ( RTSTeam team, RTSBuildingData data, Vector2 position ) : System
Serialize ( BinaryWriter s, RTSBuilding e ) : void
SetViewedInfo ( int p, bool b ) : void

메소드 상세

AddButton() 공개 메소드

public AddButton ( ACBuildingButtonController b ) : void
b ACBuildingButtonController
리턴 void

Damage() 공개 메소드

public Damage ( int d ) : void
d int
리턴 void

Deserialize() 공개 정적인 메소드

public static Deserialize ( BinaryReader s, RTSTeam team, int &target ) : RTSBuilding
s System.IO.BinaryReader
team RTSTeam
target int
리턴 RTSBuilding

Destroy() 공개 메소드

public Destroy ( ) : void
리턴 void

GetViewedInfo() 공개 메소드

public GetViewedInfo ( int p ) : bool
p int
리턴 bool

RTSBuilding() 공개 메소드

public RTSBuilding ( RTSTeam team, RTSBuildingData data, Vector2 position ) : System
team RTSTeam
data RTSBuildingData
position Vector2
리턴 System

Serialize() 공개 정적인 메소드

public static Serialize ( BinaryWriter s, RTSBuilding e ) : void
s System.IO.BinaryWriter
e RTSBuilding
리턴 void

SetViewedInfo() 공개 메소드

public SetViewedInfo ( int p, bool b ) : void
p int
b bool
리턴 void

프로퍼티 상세

target 보호되어 있는 프로퍼티

protected IEntity target
리턴 IEntity