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