yes
This commit is contained in:
parent
def1dc1daa
commit
259747a89c
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -29,7 +29,7 @@ func main() {
|
||||||
}
|
}
|
||||||
boxesFile.Close()
|
boxesFile.Close()
|
||||||
|
|
||||||
staticTiles := [][]int{
|
staticTiles := [][]engine.StaticTile{
|
||||||
{0, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1},
|
{0, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1},
|
||||||
{9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9},
|
{9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9},
|
||||||
{9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9},
|
{9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9},
|
||||||
|
@ -51,7 +51,7 @@ func main() {
|
||||||
for j := range staticTiles {
|
for j := range staticTiles {
|
||||||
tiles[j] = make([]engine.Tile, len(staticTiles[j]))
|
tiles[j] = make([]engine.Tile, len(staticTiles[j]))
|
||||||
for i := range staticTiles[j] {
|
for i := range staticTiles[j] {
|
||||||
tiles[j][i] = engine.StaticTile(staticTiles[j][i])
|
tiles[j][i] = staticTiles[j][i]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue