Пример #1
0
 public BangingShieldState(SkeletonFootman _footman) : base(_footman.gameObject)
 {
     this._footman = _footman;
 }
Пример #2
0
 public AttackingState(SkeletonFootman _footman) : base(_footman.gameObject)
 {
     this._footman = _footman;
     timer         = _footman.attackFreq;
 }
Пример #3
0
 public ChasingState(SkeletonFootman _footman) : base(_footman.gameObject)
 {
     this._footman = _footman;
 }
Пример #4
0
 public WatchingState(SkeletonFootman _footman) : base(_footman.gameObject)
 {
     this._footman = _footman;
     rb            = transform.GetComponent <Rigidbody2D>();
 }