C# 클래스 UnitController, WoofVsMeow

상속: BasicController
파일 보기 프로젝트 열기: HaoYuan90/WoofVsMeow 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_armorType ArmorType
m_attackRange int
m_attackType AttackType
m_control int
m_damage int
m_maxAP int
m_maxHealth int
m_movementRange int

보호된 프로퍼티들

프로퍼티 타입 설명
m_active bool
m_currentGrid GameObject
m_engine GameEngine
m_hasAttacked bool
m_hasMoved bool

공개 메소드들

메소드 설명
Activate ( ) : void
Attack ( GameObject tar ) : int
AttackButtonAction ( ) : void
AttackFinished ( ) : void
CommandCancelled ( ) : void
EndButtonAction ( ) : void
GetPositionOnMap ( ) : IntVector2,
InitialiseUnit ( GameEngine, engine, GameObject currentGrid ) : void
IsEnemyOf ( int currControl ) : bool
LoseHealthBy ( int amount, float delay ) : void
Move ( GameObject dest ) : void
MoveButtonAction ( ) : void
MoveFinished ( ) : void

비공개 메소드들

메소드 설명
DelayedHPBarUpdate ( int amount, float delay ) : IEnumerator
UpdateButtonStatus ( ) : void

메소드 상세

Activate() 공개 메소드

public Activate ( ) : void
리턴 void

Attack() 공개 메소드

public Attack ( GameObject tar ) : int
tar GameObject
리턴 int

AttackButtonAction() 공개 메소드

public AttackButtonAction ( ) : void
리턴 void

AttackFinished() 공개 메소드

public AttackFinished ( ) : void
리턴 void

CommandCancelled() 공개 메소드

public CommandCancelled ( ) : void
리턴 void

EndButtonAction() 공개 메소드

public EndButtonAction ( ) : void
리턴 void

GetPositionOnMap() 공개 메소드

public GetPositionOnMap ( ) : IntVector2,
리턴 IntVector2,

InitialiseUnit() 공개 메소드

public InitialiseUnit ( GameEngine, engine, GameObject currentGrid ) : void
engine GameEngine,
currentGrid GameObject
리턴 void

IsEnemyOf() 공개 메소드

public IsEnemyOf ( int currControl ) : bool
currControl int
리턴 bool

LoseHealthBy() 공개 메소드

public LoseHealthBy ( int amount, float delay ) : void
amount int
delay float
리턴 void

Move() 공개 메소드

public Move ( GameObject dest ) : void
dest GameObject
리턴 void

MoveButtonAction() 공개 메소드

public MoveButtonAction ( ) : void
리턴 void

MoveFinished() 공개 메소드

public MoveFinished ( ) : void
리턴 void

프로퍼티 상세

m_active 보호되어 있는 프로퍼티

protected bool m_active
리턴 bool

m_armorType 공개적으로 프로퍼티

public ArmorType m_armorType
리턴 ArmorType

m_attackRange 공개적으로 프로퍼티

public int m_attackRange
리턴 int

m_attackType 공개적으로 프로퍼티

public AttackType m_attackType
리턴 AttackType

m_control 공개적으로 프로퍼티

public int m_control
리턴 int

m_currentGrid 보호되어 있는 프로퍼티

protected GameObject m_currentGrid
리턴 GameObject

m_damage 공개적으로 프로퍼티

public int m_damage
리턴 int

m_engine 보호되어 있는 프로퍼티

protected GameEngine m_engine
리턴 GameEngine

m_hasAttacked 보호되어 있는 프로퍼티

protected bool m_hasAttacked
리턴 bool

m_hasMoved 보호되어 있는 프로퍼티

protected bool m_hasMoved
리턴 bool

m_maxAP 공개적으로 프로퍼티

public int m_maxAP
리턴 int

m_maxHealth 공개적으로 프로퍼티

public int m_maxHealth
리턴 int

m_movementRange 공개적으로 프로퍼티

public int m_movementRange
리턴 int