public GhostDisapperState(GhostStateMachine ghostState)
 {
     this._stateMachine = ghostState;
     this._timeCounter  = 0f;
 }
Beispiel #2
0
 public GhostAttackState(GhostStateMachine ghostState)
 {
     this._stateMachine = ghostState;
     this._timeCounter  = 0f;
 }
 public GhostIdleState(GhostStateMachine ghostState)
 {
     this._stateMachine = ghostState;
 }
Beispiel #4
0
 void Start()
 {
     FacingLeft    = false;
     Anim          = GetComponent <Animator>();
     _stateMachine = new GhostStateMachine(this);
 }