Ejemplo n.º 1
0
 public WatchingState(SkeletonArcher _archer) : base(_archer.gameObject)
 {
     this._archer = _archer;
 }
Ejemplo n.º 2
0
 public PatrolState(SkeletonArcher _archer) : base(_archer.gameObject)
 {
     this._archer = _archer;
     rb           = transform.GetComponent <Rigidbody2D>();
 }
Ejemplo n.º 3
0
 public ShootingState(SkeletonArcher _archer) : base(_archer.gameObject)
 {
     this._archer = _archer;
     timer        = _archer.ShootFreq;
 }
Ejemplo n.º 4
0
 public HittingState(SkeletonArcher _archer) : base(_archer.gameObject)
 {
     this._archer = _archer;
     timer        = _archer.attackFreq;
 }