コード例 #1
0
 public WatchingState(SkeletonArcher _archer) : base(_archer.gameObject)
 {
     this._archer = _archer;
 }
コード例 #2
0
ファイル: PatrolState.cs プロジェクト: fessfessor/PixLessons
 public PatrolState(SkeletonArcher _archer) : base(_archer.gameObject)
 {
     this._archer = _archer;
     rb           = transform.GetComponent <Rigidbody2D>();
 }
コード例 #3
0
 public ShootingState(SkeletonArcher _archer) : base(_archer.gameObject)
 {
     this._archer = _archer;
     timer        = _archer.ShootFreq;
 }
コード例 #4
0
ファイル: HittingState.cs プロジェクト: fessfessor/PixLessons
 public HittingState(SkeletonArcher _archer) : base(_archer.gameObject)
 {
     this._archer = _archer;
     timer        = _archer.attackFreq;
 }