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));
 }