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