mirror of
https://github.com/mvvasilev/last_light.git
synced 2025-04-19 12:49:52 +03:00
24 lines
409 B
Go
24 lines
409 B
Go
|
package world
|
||
|
|
||
|
import "mvvasilev/last_light/util"
|
||
|
|
||
|
type EmptyDungeonMap struct {
|
||
|
level *BasicMap
|
||
|
}
|
||
|
|
||
|
func (edl *EmptyDungeonMap) Size() util.Size {
|
||
|
return edl.level.Size()
|
||
|
}
|
||
|
|
||
|
func (edl *EmptyDungeonMap) SetTileAt(x int, y int, t Tile) {
|
||
|
edl.level.SetTileAt(x, y, t)
|
||
|
}
|
||
|
|
||
|
func (edl *EmptyDungeonMap) TileAt(x int, y int) Tile {
|
||
|
return edl.level.TileAt(x, y)
|
||
|
}
|
||
|
|
||
|
func (edl *EmptyDungeonMap) Tick(dt int64) {
|
||
|
|
||
|
}
|