public Tank() { Stats = new Stats(); Size = new SFML.Window.Vector2f(32, 32); FillColor = Color.Black; initStats(); }
private void initStats() { Stats = new Stats { MaxHealth = 10, AttackValue = 8, SpeedValue = 5, UnitPicture = Stats.Picture.SHERMAN_TANK }; }
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; }