add Levels file to hold level definitions (for now)
GitOrigin-RevId: ba9c09158f615844be53a1c294d7b8d88c9a62e2
This commit is contained in:
parent
2d2a3fde7d
commit
5672e292cc
64
Shared/Levels.cs
Normal file
64
Shared/Levels.cs
Normal file
@ -0,0 +1,64 @@
|
||||
namespace SemiColinGames {
|
||||
class Levels {
|
||||
public readonly string[] ALL_LEVELS = new string[] {
|
||||
DEMO, ROCKS, ONE_ONE
|
||||
};
|
||||
|
||||
public const string DEMO = @"
|
||||
1
|
||||
2
|
||||
3 <==>
|
||||
4
|
||||
5
|
||||
6
|
||||
7 <=====> <================>
|
||||
8 [................]
|
||||
9 [................]
|
||||
0 [................]
|
||||
1 <==============================>
|
||||
2 [..............................]
|
||||
3 [..............................]
|
||||
4 [..............................]
|
||||
============================================
|
||||
............................................";
|
||||
|
||||
|
||||
public const string ROCKS = @"
|
||||
.........................................
|
||||
.........................................
|
||||
.........................................
|
||||
.........................................
|
||||
.........................................
|
||||
.........................................
|
||||
.........................................
|
||||
.........................................
|
||||
.........................................
|
||||
.........................................
|
||||
[.................................
|
||||
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
|
||||
===========================..========..======..=========..=========> <=============> <==============================================================> <=======..==============..==============================
|
||||
...................................................................] [.............] [..............................................................] [.......................................................";
|
||||
|
||||
}
|
||||
}
|
@ -17,6 +17,7 @@
|
||||
<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)Player.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)SneakGame.cs" />
|
||||
|
Loading…
Reference in New Issue
Block a user