Add floor and ceiling map data
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -945,6 +945,32 @@ abstract class GameMap {
|
||||
];
|
||||
// dart format on
|
||||
|
||||
// dart format off
|
||||
static const List<int> floor = [
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,1,1,0,0,
|
||||
0,0,0,0,2,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,0,2,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,1,1,1,1,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
];
|
||||
// dart format on
|
||||
|
||||
// dart format off
|
||||
static const List<int> ceiling = [
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,1,0,
|
||||
0,1,3,1,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
];
|
||||
// dart format on
|
||||
|
||||
static const Size dimensions = Size(8, 8);
|
||||
static const int size = 32;
|
||||
}
|
||||
|
||||
+2
-2
@@ -203,7 +203,7 @@ int mapF[]= //floors
|
||||
0,0,2,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,1,1,1,1,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
};
|
||||
|
||||
int mapC[]= //ceiling
|
||||
@@ -215,7 +215,7 @@ int mapC[]= //ceiling
|
||||
0,1,3,1,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
|
||||
Reference in New Issue
Block a user