4d225c65f2
- Barotrauma's projects are in the Barotrauma directory - All libraries are in the Libraries directory - MonoGame is now managed by NuGet, rather than referenced from the installed files (TODO: consider using PCL for easier cross-platform development?) - NuGet libraries are not included in the repo, as getting the latest versions automatically should be preferred - Removed Content/effects.mgfx as it didn't seem to be used anywhere - Removed some references to Subsurface directory - Renamed Launcher2 to Launcher
31 lines
826 B
C#
31 lines
826 B
C#
using Microsoft.Xna.Framework;
|
|
using Microsoft.Xna.Framework.Graphics;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using Voronoi2;
|
|
|
|
namespace Barotrauma.RuinGeneration
|
|
{
|
|
partial class Ruin
|
|
{
|
|
public void Draw(SpriteBatch spriteBatch)
|
|
{
|
|
//foreach (BTRoom room in leaves)
|
|
//{
|
|
// GUI.DrawRectangle(spriteBatch, room.Rect, Color.White);
|
|
//}
|
|
|
|
//foreach (Corridor corr in corridors)
|
|
//{
|
|
// GUI.DrawRectangle(spriteBatch, corr.Rect, Color.Blue);
|
|
//}
|
|
|
|
foreach (Line line in walls)
|
|
{
|
|
GUI.DrawLine(spriteBatch, new Vector2(line.A.X, -line.A.Y), new Vector2(line.B.X, -line.B.Y), Color.Red, 0.0f, 10);
|
|
}
|
|
}
|
|
}
|
|
}
|