Ejemplo n.º 1
0
 public void SetData(LegionData legionDta)
 {
     if (legionDta != null)
     {
         this.legionDta       = legionDta;
         this.legionLevelData = legionDta.levelData;
     }
 }
Ejemplo n.º 2
0
        public void SetData(LegionData legionDta)
        {
            if (legionDta != null)
            {
                this.legionDta       = legionDta;
                this.legionLevelData = legionDta.levelData;

                propPanel.data = this.legionLevelData;

                Show();
            }
            else
            {
                Hide();
            }
        }
Ejemplo n.º 3
0
        public LegionData(int team, string name, LegionType type, bool aiSendArm, bool aiUplevel, bool aiSkill, bool produce)
        {
            this.legionId  = team;
            this.name      = name;
            this.type      = type;
            this.aiSendArm = aiSendArm;
            this.aiUplevel = aiUplevel;
            this.aiSkill   = aiSkill;
            this.produce   = produce;


            if (this.legionId == War.ownLegionID)
            {
                levelData = new LegionLevelData_Own();
            }
            else
            {
                levelData = new LegionLevelData();
            }

            levelData.legionData = this;
        }