예제 #1
0
 /// <summary>
 /// Constructor for planetary targets.
 /// </summary>
 /// <param name="BodyTarget">Body which is the target</param>
 public TargetTN(Planet BodyTarget)
 {
     Id         = Guid.NewGuid();
     TargetType = BodyTarget.SSEntity;
     Body       = BodyTarget;
 }
예제 #2
0
 /// <summary>
 /// Constructor for population targets.
 /// </summary>
 /// <param name="PopTarget">Population that is targeted.</param>
 public TargetTN(Population PopTarget)
 {
     Id         = Guid.NewGuid();
     TargetType = StarSystemEntityType.Population;
     Pop        = PopTarget;
 }
예제 #3
0
 /// <summary>
 /// Constructor for Missile group targets.
 /// </summary>
 /// <param name="OGTarget">missile targeted on.</param>
 public TargetTN(OrdnanceGroupTN OGTarget)
 {
     Id           = Guid.NewGuid();
     TargetType   = OGTarget.SSEntity;
     MissileGroup = OGTarget;
 }
예제 #4
0
 /// <summary>
 /// Constructor for ship targets.
 /// </summary>
 /// <param name="ShipTarget">Ship that will be the target</param>
 public TargetTN(ShipTN ShipTarget)
 {
     Id         = Guid.NewGuid();
     TargetType = ShipTarget.ShipsTaskGroup.SSEntity;
     Ship       = ShipTarget;
 }
예제 #5
0
 /// <summary>
 /// Constructor for population targets.
 /// </summary>
 /// <param name="PopTarget">Population that is targeted.</param>
 public TargetTN(Population PopTarget)
     : base()
 {
     TargetType = StarSystemEntityType.Population;
     Pop = PopTarget;
 }
예제 #6
0
 /// <summary>
 /// Constructor for Waypoint targets.
 /// </summary>
 /// <param name="WPTarget">waypoint to be targeted.</param>
 public TargetTN(Waypoint WPTarget)
 {
     Id         = Guid.NewGuid();
     TargetType = WPTarget.SSEntity;
     WP         = WPTarget;
 }
예제 #7
0
 /// <summary>
 /// Constructor for ship targets.
 /// </summary>
 /// <param name="ShipTarget">Ship that will be the target</param>
 public TargetTN(ShipTN ShipTarget)
     : base()
 {
     TargetType = ShipTarget.ShipsTaskGroup.SSEntity;
     Ship = ShipTarget;
 }
예제 #8
0
 /// <summary>
 /// Constructor for planetary targets.
 /// </summary>
 /// <param name="BodyTarget">Body which is the target</param>
 public TargetTN(SystemBody BodyTarget)
     : base()
 {
     TargetType = BodyTarget.SSEntity;
     Body = BodyTarget;
 }
예제 #9
0
 /// <summary>
 /// Constructor for Waypoint targets.
 /// </summary>
 /// <param name="WPTarget">waypoint to be targeted.</param>
 public TargetTN(Waypoint WPTarget)
     : base()
 {
     TargetType = WPTarget.SSEntity;
     WP = WPTarget;
 }
예제 #10
0
 /// <summary>
 /// Constructor for Missile group targets.
 /// </summary>
 /// <param name="OGTarget">missile targeted on.</param>
 public TargetTN(OrdnanceGroupTN OGTarget)
     : base()
 {
     TargetType = OGTarget.SSEntity;
     MissileGroup = OGTarget;
 }
예제 #11
0
파일: TargetTN.cs 프로젝트: txe/Pulsar4x
 /// <summary>
 /// Constructor for population targets.
 /// </summary>
 /// <param name="PopTarget">Population that is targeted.</param>
 public TargetTN(Population PopTarget)
     : base()
 {
     TargetType = StarSystemEntityType.Population;
     Pop        = PopTarget;
 }
예제 #12
0
파일: TargetTN.cs 프로젝트: txe/Pulsar4x
 /// <summary>
 /// Constructor for planetary targets.
 /// </summary>
 /// <param name="BodyTarget">Body which is the target</param>
 public TargetTN(SystemBody BodyTarget)
     : base()
 {
     TargetType = BodyTarget.SSEntity;
     Body       = BodyTarget;
 }
예제 #13
0
파일: TargetTN.cs 프로젝트: txe/Pulsar4x
 /// <summary>
 /// Constructor for ship targets.
 /// </summary>
 /// <param name="ShipTarget">Ship that will be the target</param>
 public TargetTN(ShipTN ShipTarget)
     : base()
 {
     TargetType = ShipTarget.ShipsTaskGroup.SSEntity;
     Ship       = ShipTarget;
 }
예제 #14
0
파일: TargetTN.cs 프로젝트: txe/Pulsar4x
 /// <summary>
 /// Constructor for Missile group targets.
 /// </summary>
 /// <param name="OGTarget">missile targeted on.</param>
 public TargetTN(OrdnanceGroupTN OGTarget)
     : base()
 {
     TargetType   = OGTarget.SSEntity;
     MissileGroup = OGTarget;
 }
예제 #15
0
파일: TargetTN.cs 프로젝트: txe/Pulsar4x
 /// <summary>
 /// Constructor for Waypoint targets.
 /// </summary>
 /// <param name="WPTarget">waypoint to be targeted.</param>
 public TargetTN(Waypoint WPTarget)
     : base()
 {
     TargetType = WPTarget.SSEntity;
     WP         = WPTarget;
 }