mirror of
https://github.com/mvvasilev/last_light.git
synced 2025-04-19 12:49:52 +03:00
13 lines
299 B
Go
13 lines
299 B
Go
package world
|
|
|
|
import "github.com/gdamore/tcell/v2"
|
|
|
|
func CreateEmptyDungeonLevel(width, height int) *BasicMap {
|
|
tiles := make([][]Tile, height)
|
|
|
|
for h := range height {
|
|
tiles[h] = make([]Tile, width)
|
|
}
|
|
|
|
return CreateBasicMap(tiles, tcell.StyleDefault.Foreground(tcell.ColorLightSlateGrey))
|
|
}
|