add more obstacles to world
GitOrigin-RevId: 4352f7ca81b437f2c49d91d0fa0d53ca544d5c2d
This commit is contained in:
parent
173efbf4ef
commit
a58d9b0847
@ -75,6 +75,12 @@ namespace Jumpy {
|
||||
if (j == 3 && 15 < i && i < 19) {
|
||||
terrain = Terrain.Grass;
|
||||
}
|
||||
if (j == 7 && i == 5) {
|
||||
terrain = Terrain.Grass;
|
||||
}
|
||||
if (7 <= j && j <= 10 && i == 12) {
|
||||
terrain = Terrain.Rock;
|
||||
}
|
||||
var position = new Rectangle(i * TileSize, j * TileSize, TileSize, TileSize);
|
||||
tiles[i, j] = new Tile(texture, terrain, position);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user