Example #1
0
        public Tank()
        {
            Stats = new Stats();
            Size = new SFML.Window.Vector2f(32, 32);
            FillColor = Color.Black;

            initStats();
        }
Example #2
0
 private void initStats()
 {
     Stats = new Stats
     {
         MaxHealth = 10,
         AttackValue = 8,
         SpeedValue = 5,
         UnitPicture = Stats.Picture.SHERMAN_TANK
     };
 }
Example #3
0
 private void initStats()
 {
     Stats = new Stats
     {
         MaxHealth = 100,
         CurrentHealth = 100,
         AttackValue = 0,
         Weapon = new M1Garand(),
         SpeedValue = 3,
         MaxAPValue = 8,
     };
     Stats.APValue = Stats.MaxAPValue;
     Stats.UnitPicture = Stats.Picture.INFANTERI;
 }