public FlyingStrategy(FlyingGameObject obj)
 {
     this.obj = obj;
 }
예제 #2
0
 public ClearTargetState(NPCBasicAttackStrategy context, NPCShip obj, FlyingGameObject target)
     : base(context, obj, target)
 {
 }
예제 #3
0
 public FlyingFollowState(FlyingStrategy context, FlyingGameObject obj, FlyingGameObject followObj)
     : base(context)
 {
     this.obj       = obj;
     this.followObj = followObj;
 }
예제 #4
0
 public NPCBasicAttackStrategy(NPCShip obj, FlyingGameObject target)
     : base(obj)
 {
     AddState(new AttackingState(this, obj, target));
 }
 public FlyingFollowStrategy(FlyingGameObject obj, FlyingGameObject followObj) : base(obj)
 {
     this.followObj = followObj;
     this.AddState(new FlyingFollowState(this, obj, followObj));
 }