C# 클래스 BattleManager

상속: MonoBehaviour
파일 보기 프로젝트 열기: Izulkara/MagicBox 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Camera GameObject
CameraTarget Camera
RNG System.Random
angleView bool
enemyUnits List
friendlyUnits List
isPlayerTurn bool
ratio float
selectedTile Tile
selectedUnit Unit
theGrid Grid

공개 메소드들

메소드 설명
endPlayerTurn ( ) : void
togglePerspective ( ) : void

비공개 메소드들

메소드 설명
Start ( ) : void
Update ( ) : void
executeAITurn ( ) : void
explore ( Unit u, int moves, Tile curTile, List list ) : void
findClosestUnit ( Unit currentUnit ) : Unit
findMovableTile ( Unit u ) : Tile

메소드 상세

endPlayerTurn() 공개 메소드

public endPlayerTurn ( ) : void
리턴 void

togglePerspective() 공개 메소드

public togglePerspective ( ) : void
리턴 void

프로퍼티 상세

Camera 공개적으로 프로퍼티

public GameObject Camera
리턴 GameObject

CameraTarget 공개적으로 프로퍼티

public Camera CameraTarget
리턴 Camera

RNG 공개적으로 정적으로 프로퍼티

public static Random,System RNG
리턴 System.Random

angleView 공개적으로 프로퍼티

public bool angleView
리턴 bool

enemyUnits 공개적으로 프로퍼티

public List enemyUnits
리턴 List

friendlyUnits 공개적으로 프로퍼티

public List friendlyUnits
리턴 List

isPlayerTurn 공개적으로 프로퍼티

public bool isPlayerTurn
리턴 bool

ratio 공개적으로 프로퍼티

public float ratio
리턴 float

selectedTile 공개적으로 프로퍼티

public Tile selectedTile
리턴 Tile

selectedUnit 공개적으로 프로퍼티

public Unit selectedUnit
리턴 Unit

theGrid 공개적으로 프로퍼티

public Grid theGrid
리턴 Grid