Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #3
0
        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);
        }