Skip to content

Commit

Permalink
7 levels
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehjohn committed Jan 9, 2024
1 parent 53426b3 commit 111f7ab
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 2 deletions.
6 changes: 4 additions & 2 deletions AoC.Games/Games/Deflectors/Game.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public class Game : Microsoft.Xna.Framework.Game

private const int BufferHeight = 663;

private int _levelNumber = 1;

// ReSharper disable once NotAccessedField.Local
private GraphicsDeviceManager _graphics;

Expand All @@ -46,8 +48,6 @@ public class Game : Microsoft.Xna.Framework.Game

private readonly LevelDataProvider _levels = new();

private int _levelNumber = 1;

private Level _level;

private Color[] _palette;
Expand Down Expand Up @@ -121,6 +121,8 @@ protected override void Initialize()
_highScore = int.Parse(text);
}

Window.Title = "The Floor Will be Lava";

base.Initialize();
}

Expand Down
49 changes: 49 additions & 0 deletions AoC.Games/Games/Deflectors/Levels/levels.json
Original file line number Diff line number Diff line change
Expand Up @@ -324,5 +324,54 @@
],
"Mirrors": [
]
},
{
"Id": 7,
"Starts": [
{
"X": 2,
"Y": 10,
"Direction": "East"
},
{
"X": 2,
"Y": 19,
"Direction": "East"
}
],
"Ends": [
{
"X": 2,
"Y": 8,
"Direction": "East"
},
{
"X": 2,
"Y": 21,
"Direction": "East"
},
{
"X": 27,
"Y": 2,
"Direction": "South"
},
{
"X": 27,
"Y": 27,
"Direction": "North"
}
],
"Blocked": [
],
"Pieces": [
"/",
"-",
"\\",
"-",
"/",
"\\"
],
"Mirrors": [
]
}
]

0 comments on commit 111f7ab

Please sign in to comment.