Exemplo n.º 1
0
 public void DrawStep1(Camera2D camera, RenderStep step, GameTime gameTime)
 {
     m_backgroundSprite.Draw(camera);
     if (CurrentRoom == null || camera.Zoom != 1f || m_inputMap.Pressed(2) && (!m_inputMap.Pressed(2) || !LevelEV.RUN_DEMO_VERSION && !LevelEV.CREATE_RETAIL_VERSION))
     {
         foreach (RoomObj mRoomList in m_roomList)
         {
             mRoomList.DrawBGObjs(camera);
         }
     }
     else
     {
         CurrentRoom.DrawBGObjs(camera);
     }
 }