示例#1
0
        public Actor harvester = null; // the harvester to protect

        #endregion Fields

        #region Constructors

        public HarvesterDefenseSquad(IranAI AI, SquadManager manager, SquadType squadtype, SquadRole squadrole)
            : base(AI, manager, squadtype, squadrole)
        {
            this.AI = AI;
            squadtype = SquadType.Tank;
            SetMaxSquadSize(2);
        }
示例#2
0
 public ShipSquad(IranAI AI, SquadManager manager, SquadType squadtype, SquadRole squadrole)
     : base(AI, manager, squadtype, squadrole)
 {
     this.AI = AI;
     squadtype = SquadType.Ship;
     SetMaxSquadSize(2);
     //            isready = true; // Important for creating new squads, if this doesn't get set somewhere the squad size will be unlimited
 }
示例#3
0
 public ShipBuilder(IranAI AI)
 {
     this.AI = AI;
     this.world = AI.world;
 }
示例#4
0
 public DefenseBuilder(IranAI AI)
 {
     this.AI = AI;
     this.world = AI.world;
 }
示例#5
0
 public InfantryBuilder(IranAI AI)
 {
     this.AI = AI;
     this.world = AI.world;
 }
示例#6
0
        int feedbacktime = 60; // time to update feedback state, in ticks

        #endregion Fields

        #region Constructors

        public SquadManager(IranAI AI)
        {
            this.AI = AI;
            this.world = AI.world;
            this.squads = new List<ISquad>();
        }
示例#7
0
 public AircraftBuilder(IranAI AI)
 {
     this.AI = AI;
     this.world = AI.world;
 }
示例#8
0
 public VehicleBuilder(IranAI AI)
 {
     this.AI = AI;
     this.world = AI.world;
 }
示例#9
0
文件: Squad.cs 项目: Iran/ClassicRA
 public Squad(IranAI AI, SquadManager manager, SquadType squadtype, SquadRole squadrole)
 {
     this.AI = AI;
     this.manager = manager;
     this.squadtype = squadtype;
     this.world = AI.world;
     this.squadrole = squadrole;
     members = new List<Actor>();
 }