remove old Levels file
This commit is contained in:
parent
5121f6d775
commit
983a02b364
@ -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
|
|
||||||
===========================..========..======..=========..=========> <=============> <==============================================================> <=======..==============..==============================
|
|
||||||
...................................................................] [.............] [..............................................................] [.......................................................";
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -24,7 +24,6 @@
|
|||||||
<Compile Include="$(MSBuildThisFileDirectory)FpsCounter.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)FpsCounter.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)History.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)History.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)IDisplay.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)IDisplay.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)Levels.cs" />
|
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)Line.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)Line.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)LinesOfSight.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)LinesOfSight.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)Player.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)Player.cs" />
|
||||||
|
@ -20,7 +20,6 @@ namespace SemiColinGames {
|
|||||||
readonly FpsCounter fpsCounter = new FpsCounter();
|
readonly FpsCounter fpsCounter = new FpsCounter();
|
||||||
readonly Timer updateTimer = new Timer(TARGET_FRAME_TIME / 2.0, "UpdateTimer");
|
readonly Timer updateTimer = new Timer(TARGET_FRAME_TIME / 2.0, "UpdateTimer");
|
||||||
readonly Timer drawTimer = new Timer(TARGET_FRAME_TIME / 2.0, "DrawTimer");
|
readonly Timer drawTimer = new Timer(TARGET_FRAME_TIME / 2.0, "DrawTimer");
|
||||||
int levelIdx = -1;
|
|
||||||
|
|
||||||
Scene scene;
|
Scene scene;
|
||||||
World world;
|
World world;
|
||||||
@ -69,7 +68,6 @@ namespace SemiColinGames {
|
|||||||
|
|
||||||
private void LoadLevel() {
|
private void LoadLevel() {
|
||||||
camera = new Camera();
|
camera = new Camera();
|
||||||
levelIdx++;
|
|
||||||
world = new World(Content.LoadString("levels/demo.json"));
|
world = new World(Content.LoadString("levels/demo.json"));
|
||||||
scene?.Dispose();
|
scene?.Dispose();
|
||||||
scene = new Scene(GraphicsDevice, camera);
|
scene = new Scene(GraphicsDevice, camera);
|
||||||
|
Loading…
Reference in New Issue
Block a user