public void Hammer_Create() { Random rand = new Random(); Hammer ham = new Hammer(); ham.Create(); ManOWar.Add(ham); ham.koord.X = rand.Next(400, 500); ham.koord.Y = rand.Next(20, 400); }
public void Tank_Create() { Random rand = new Random(); Tank tank = new Tank(); tank.Create(); ManOWar.Add(tank); tank.koord.X = rand.Next(400, 500); tank.koord.Y = rand.Next(400, 500); }
public void Infanty_Create() { Random rand = new Random(); Infanty inf = new Infanty(); inf.Create(); ManOWar.Add(inf); inf.koord.X = rand.Next(400, 500); inf.koord.Y = rand.Next(400, 500); }