public ShipFiringState(GameObject gameObject) : base(gameObject.gameObject)
 {
     this.movement        = behavior.movement;
     this.proximity       = behavior.proximity;
     this.targeting       = behavior.targeting;
     this.primaryweapon   = behavior.primaryWeapon;
     this.secondaryWeapon = behavior.secondaryWeapon;
 }
 public TurretStandbyState(GameObject gameObject) : base(gameObject.gameObject)
 {
     this.movement     = behavior.movement;
     this.targeting    = behavior.targeting;
     originialRotation = gameObject.transform.rotation;
 }
 public TurretTrackingState(GameObject gameObject) : base(gameObject.gameObject)
 {
     this.movement  = behavior.movement;
     this.targeting = behavior.targeting;
 }
示例#4
0
 public ShipStandbyState(GameObject gameObject) : base(gameObject.gameObject)
 {
     this.movement  = behavior.movement;
     this.proximity = behavior.proximity;
     this.targeting = behavior.targeting;
 }
 public TurretFiringState(GameObject gameObject) : base(gameObject.gameObject)
 {
     this.movement  = behavior.movement;
     this.targeting = behavior.targeting;
     this.weapon    = behavior.primaryWeapon;
 }