Exemplo n.º 1
0
        void AddGrenadePut(Player playerObject)
        {
            GrenadeItem grenadesPut = new GrenadeItem(Content, new Vector2(playerObject.position.X - 40, playerObject.position.Y));

            grenadePut.Add(grenadesPut);
        }
Exemplo n.º 2
0
        void AddGrenade()
        {
            GrenadeItem grenades = new GrenadeItem(Content, new Vector2(random.Next(100, 1700), random.Next(600, 800)));

            grenade.Add(grenades);
        }