Пример #1
0
        public void drawMe(SpriteBatch sBatch, SessionController sessionManager)
        {
            if (gameWorld.Map != null)
            {
                gameWorld.Map.drawMe(sBatch);
            }

            foreach (NetworkGamer player in sessionManager.NetSession.AllGamers)
            {
                ((SpaceMarine)player.Tag).Draw(sBatch);
            }
            foreach (Asteroid asteroid in gameWorld.Asteroids)
            {
                asteroid.Draw(sBatch);
            }
            foreach (PickupItem item in gameWorld.PickupItems)
            {
                item.Draw(sBatch);
            }

            m_crossHair.Draw(sBatch);
        }