Beispiel #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]]);
     }
 }
Beispiel #2
0
 public void DrawCompass()
 {
     HUDUtilities.DrawTexture(game, compass, compassPos, offsetX, offsetY, HUDUtilities.MapCompassLabelLayer);
 }
Beispiel #3
0
 public void DrawLabel()
 {
     HUDUtilities.DrawTexture(game, label, labelPos, offsetX, offsetY, HUDUtilities.MapCompassLabelLayer);
 }
Beispiel #4
0
 private void DrawLevelLabel()
 {
     HUDUtilities.DrawTexture(game, level[(int)game.RoomHandler.currentRoom.Z / 2], levelPos, offsetX, offsetY, HUDUtilities.MinimapLabelLayer);
 }
Beispiel #5
0
 private void DrawMap()
 {
     HUDUtilities.DrawTexture(game, map, mapPos, offsetX, offsetY, HUDUtilities.OrangeMapLayer);
 }