Example #1
0
 private void DrawRooms()
 {
     foreach (Vector3 coords in rooms[currentZ].Keys)
     {
         Rectangle destination = OrangeMapConstants.CalculatePos(coords, OrangeMapConstants.RoomSize, scaledMapWidth, scaledMapHeight);
         HUDUtilities.DrawTexture(game, roomsTexture, destination, offsetX, offsetY, HUDUtilities.OrangeMapRoomLayer, roomFrames[rooms[currentZ][coords]]);
     }
 }
Example #2
0
 public void DrawCompass()
 {
     HUDUtilities.DrawTexture(game, compass, compassPos, offsetX, offsetY, HUDUtilities.MapCompassLabelLayer);
 }
Example #3
0
 public void DrawLabel()
 {
     HUDUtilities.DrawTexture(game, label, labelPos, offsetX, offsetY, HUDUtilities.MapCompassLabelLayer);
 }
Example #4
0
 private void DrawLevelLabel()
 {
     HUDUtilities.DrawTexture(game, level[(int)game.RoomHandler.currentRoom.Z / 2], levelPos, offsetX, offsetY, HUDUtilities.MinimapLabelLayer);
 }
Example #5
0
 private void DrawMap()
 {
     HUDUtilities.DrawTexture(game, map, mapPos, offsetX, offsetY, HUDUtilities.OrangeMapLayer);
 }