Exemple #1
0
 public MainBase()
 {
     StructStats = new StructureStats();
     Lvl         = 1;
     Hp          = StructStats.mainBase.Lvl1.Health;
     Armor       = StructStats.mainBase.Lvl1.Armor;
 }
Exemple #2
0
 public Fields()
 {
     StructStats = new StructureStats();
     Lvl         = 1;
     Hp          = StructStats.field.Lvl1.Health;
     Armor       = StructStats.field.Lvl1.Armor;
 }
Exemple #3
0
 public Wall()
 {
     StructStats = new StructureStats();
     Lvl         = 1;
     Hp          = StructStats.wall.Lvl1.Health;
     Armor       = StructStats.wall.Lvl1.Armor;
 }
 public Barracks()
 {
     StructStats = new StructureStats();
     Lvl         = 1;
     Hp          = StructStats.barracks.Lvl1.Health;
     Armor       = StructStats.barracks.Lvl1.Armor;
     Sprite      = GeneralFunctions.Content.Load <Texture2D>("GameContent\\Portal");
     Position    = new Vector2(150, 360);
 }
Exemple #5
0
        public Wall()
        {
            StructStats = new StructureStats();
            Lvl         = 1;
            Hp          = StructStats.wall.Lvl1.Health;
            Armor       = StructStats.wall.Lvl1.Armor;
            Sprites     = new List <Texture2D>();

            Sprites.Add(GeneralFunctions.Content.Load <Texture2D>("GameContent\\WallAnim0"));
            Sprites.Add(GeneralFunctions.Content.Load <Texture2D>("GameContent\\WallAnim1"));
            Sprites.Add(GeneralFunctions.Content.Load <Texture2D>("GameContent\\WallAnim2"));
            Closed = true;
        }