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