C# 클래스 RTS.Input.AI

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

공개 프로퍼티들

프로퍼티 타입 설명
player RTSEngine.Data.Team.RTSTeam
playerIndex int
random System.Random
spawnCap int
squads List>
unitSpawnP int[]

공개 메소드들

메소드 설명
AI ( ) : System
Begin ( ) : void
CreateVoxels ( VoxAtlas atlas ) : List
Deserialize ( BinaryReader s ) : void
Dispose ( ) : void
Init ( GameState s, int ti, object args ) : void
LESave ( VoxWorld world, int w, int h, DirectoryInfo dir ) : void
OnBuildingDestruction ( IEntity b ) : void
OnBuildingSpawn ( RTSBuilding b ) : void
OnUnitDeath ( IEntity u ) : void
OnUnitSpawn ( RTSUnit u ) : void
Serialize ( BinaryWriter s ) : void
SetTarget ( List units, IEntity t ) : void

비공개 메소드들

메소드 설명
GetClosestTarget ( List squad ) : IEntity
GetSquadPos ( List squad ) : Vector2
IncreaseActive ( int n ) : void
UpdateLevel ( ) : void
WorkThread ( ) : void

메소드 상세

AI() 공개 메소드

public AI ( ) : System
리턴 System

Begin() 공개 메소드

public Begin ( ) : void
리턴 void

CreateVoxels() 공개 메소드

public CreateVoxels ( VoxAtlas atlas ) : List
atlas Grey.Vox.VoxAtlas
리턴 List

Deserialize() 공개 메소드

public Deserialize ( BinaryReader s ) : void
s System.IO.BinaryReader
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Init() 공개 메소드

public Init ( GameState s, int ti, object args ) : void
s RTSEngine.Data.GameState
ti int
args object
리턴 void

LESave() 공개 메소드

public LESave ( VoxWorld world, int w, int h, DirectoryInfo dir ) : void
world Grey.Vox.VoxWorld
w int
h int
dir System.IO.DirectoryInfo
리턴 void

OnBuildingDestruction() 공개 메소드

public OnBuildingDestruction ( IEntity b ) : void
b IEntity
리턴 void

OnBuildingSpawn() 공개 메소드

public OnBuildingSpawn ( RTSBuilding b ) : void
b RTSEngine.Data.Team.RTSBuilding
리턴 void

OnUnitDeath() 공개 메소드

public OnUnitDeath ( IEntity u ) : void
u IEntity
리턴 void

OnUnitSpawn() 공개 메소드

public OnUnitSpawn ( RTSUnit u ) : void
u RTSEngine.Data.Team.RTSUnit
리턴 void

Serialize() 공개 메소드

public Serialize ( BinaryWriter s ) : void
s System.IO.BinaryWriter
리턴 void

SetTarget() 공개 메소드

public SetTarget ( List units, IEntity t ) : void
units List
t IEntity
리턴 void

프로퍼티 상세

player 공개적으로 프로퍼티

public RTSTeam,RTSEngine.Data.Team player
리턴 RTSEngine.Data.Team.RTSTeam

playerIndex 공개적으로 프로퍼티

public int playerIndex
리턴 int

random 공개적으로 프로퍼티

public Random,System random
리턴 System.Random

spawnCap 공개적으로 프로퍼티

public int spawnCap
리턴 int

squads 공개적으로 프로퍼티

public List> squads
리턴 List>

unitSpawnP 공개적으로 프로퍼티

public int[] unitSpawnP
리턴 int[]