public BangingShieldState(SkeletonFootman _footman) : base(_footman.gameObject)
 {
     this._footman = _footman;
 }
Esempio n. 2
0
 public AttackingState(SkeletonFootman _footman) : base(_footman.gameObject)
 {
     this._footman = _footman;
     timer         = _footman.attackFreq;
 }
Esempio n. 3
0
 public ChasingState(SkeletonFootman _footman) : base(_footman.gameObject)
 {
     this._footman = _footman;
 }
Esempio n. 4
0
 public WatchingState(SkeletonFootman _footman) : base(_footman.gameObject)
 {
     this._footman = _footman;
     rb            = transform.GetComponent <Rigidbody2D>();
 }