C# 클래스 inputManager, Main-Working-Repository

상속: MonoBehaviour
파일 보기 프로젝트 열기: GCSShatteredSpace/Main-Working-Repository 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
commands Stack

공개 메소드들

메소드 설명
Start ( ) : void
Update ( ) : void
attackCommand ( Vector2 pos ) : void
cancelAttack ( ) : void
cancelCommand ( ) : void
drawLine ( ) : void
endTargeting ( ) : void
gainTechnology ( string technology ) : void
getMyPlayer ( ) : player,
getPlayerPosition ( ) : Vector2
getTurnStartTime ( ) : float
getWeaponId ( ) : int
hasAttackLeft ( ) : bool
hasMoveLeft ( ) : bool
inMovement ( Vector2 pos ) : bool
inTarget ( Vector2 pos ) : bool
isCommandable ( ) : bool
isInTargetMode ( ) : bool
moveCommand ( Vector2 pos ) : void
resetCommands ( Vector2 pos ) : void
sendCommands ( ) : void
setMaxSteps ( int steps ) : void
setMenu ( bool value ) : void
setMyPlayer ( player, p ) : void
startNewTurn ( Vector2 pos ) : void
startTargeting ( Vector2 pos ) : void

메소드 상세

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

attackCommand() 공개 메소드

public attackCommand ( Vector2 pos ) : void
pos Vector2
리턴 void

cancelAttack() 공개 메소드

public cancelAttack ( ) : void
리턴 void

cancelCommand() 공개 메소드

public cancelCommand ( ) : void
리턴 void

drawLine() 공개 메소드

public drawLine ( ) : void
리턴 void

endTargeting() 공개 메소드

public endTargeting ( ) : void
리턴 void

gainTechnology() 공개 메소드

public gainTechnology ( string technology ) : void
technology string
리턴 void

getMyPlayer() 공개 메소드

public getMyPlayer ( ) : player,
리턴 player,

getPlayerPosition() 공개 메소드

public getPlayerPosition ( ) : Vector2
리턴 Vector2

getTurnStartTime() 공개 메소드

public getTurnStartTime ( ) : float
리턴 float

getWeaponId() 공개 메소드

public getWeaponId ( ) : int
리턴 int

hasAttackLeft() 공개 메소드

public hasAttackLeft ( ) : bool
리턴 bool

hasMoveLeft() 공개 메소드

public hasMoveLeft ( ) : bool
리턴 bool

inMovement() 공개 메소드

public inMovement ( Vector2 pos ) : bool
pos Vector2
리턴 bool

inTarget() 공개 메소드

public inTarget ( Vector2 pos ) : bool
pos Vector2
리턴 bool

isCommandable() 공개 메소드

public isCommandable ( ) : bool
리턴 bool

isInTargetMode() 공개 메소드

public isInTargetMode ( ) : bool
리턴 bool

moveCommand() 공개 메소드

public moveCommand ( Vector2 pos ) : void
pos Vector2
리턴 void

resetCommands() 공개 메소드

public resetCommands ( Vector2 pos ) : void
pos Vector2
리턴 void

sendCommands() 공개 메소드

public sendCommands ( ) : void
리턴 void

setMaxSteps() 공개 메소드

public setMaxSteps ( int steps ) : void
steps int
리턴 void

setMenu() 공개 메소드

public setMenu ( bool value ) : void
value bool
리턴 void

setMyPlayer() 공개 메소드

public setMyPlayer ( player, p ) : void
p player,
리턴 void

startNewTurn() 공개 메소드

public startNewTurn ( Vector2 pos ) : void
pos Vector2
리턴 void

startTargeting() 공개 메소드

public startTargeting ( Vector2 pos ) : void
pos Vector2
리턴 void

프로퍼티 상세

commands 공개적으로 프로퍼티

public Stack commands
리턴 Stack