Browse Source

remove old Levels file

master
Colin McMillen 4 years ago
parent
commit
983a02b364
  1. 67
      Shared/Levels.cs
  2. 1
      Shared/Shared.projitems
  3. 2
      Shared/SneakGame.cs

67
Shared/Levels.cs

@ -1,67 +0,0 @@
namespace SemiColinGames {
class Levels {
public static readonly string[] ALL_LEVELS = new string[] {
DEMO, ONE_ONE, ROCKS
};
public const string DEMO = @"
8 <=============>
7 { { { } { ;
6 } ; ; ; }
5 } ; }
4 }
3
2
1
0 <=X=X=X=> <===> <===> (__________)
5 / \
4 | |
3 | |
2 | |
w wr wqw t wew ww dfffxfffxfffb v twq r wtwv
=================> <=============> <================================================================================================
..................~`~`~`...............^^^^.................................................................................................
..................======....................................................................................................................";
public const string ROCKS = @"
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
0 [.................................
1 [.................................
2 [.................................
3 [.................................
4 [.................................
=========================================
.........................................";
public const string ONE_ONE = @"
X
.
X <======> <==X X <=> <XX> XX .
XXX .
XXXX .
XXXXX .
X <X=X> <> <> <X> = <> X X X X <> X X XX X <=X> XXXXXX .
<> [] [] XX XX XXX XX XXXXXXX
<> [] [] [] XXX XXX XXXX XXX <> <> XXXXXXXX
[]12345678[]123456[]123456789[]1234567890 123456 123456 12345 1234 12345 1234 123XXXX XXXX1234XXXXX XXXX1234[]123 1234567[]XXXXXXXXX12345678
===========================..========..======..=========..=========> <=============> <==============================================================> <=======..==============..==============================
...................................................................] [.............] [..............................................................] [.......................................................";
}
}

1
Shared/Shared.projitems

@ -24,7 +24,6 @@
<Compile Include="$(MSBuildThisFileDirectory)FpsCounter.cs" />
<Compile Include="$(MSBuildThisFileDirectory)History.cs" />
<Compile Include="$(MSBuildThisFileDirectory)IDisplay.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Levels.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Line.cs" />
<Compile Include="$(MSBuildThisFileDirectory)LinesOfSight.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Player.cs" />

2
Shared/SneakGame.cs

@ -20,7 +20,6 @@ namespace SemiColinGames {
readonly FpsCounter fpsCounter = new FpsCounter();
readonly Timer updateTimer = new Timer(TARGET_FRAME_TIME / 2.0, "UpdateTimer");
readonly Timer drawTimer = new Timer(TARGET_FRAME_TIME / 2.0, "DrawTimer");
int levelIdx = -1;
Scene scene;
World world;
@ -69,7 +68,6 @@ namespace SemiColinGames {
private void LoadLevel() {
camera = new Camera();
levelIdx++;
world = new World(Content.LoadString("levels/demo.json"));
scene?.Dispose();
scene = new Scene(GraphicsDevice, camera);

Loading…
Cancel
Save