public FlyingStrategy(FlyingGameObject obj)
 {
     this.obj = obj;
 }
Beispiel #2
0
 public ClearTargetState(NPCBasicAttackStrategy context, NPCShip obj, FlyingGameObject target)
     : base(context, obj, target)
 {
 }
Beispiel #3
0
 public FlyingFollowState(FlyingStrategy context, FlyingGameObject obj, FlyingGameObject followObj)
     : base(context)
 {
     this.obj       = obj;
     this.followObj = followObj;
 }
Beispiel #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));
 }