mirror of
https://github.com/mvvasilev/last_light.git
synced 2025-04-19 12:49:52 +03:00
23 lines
413 B
Go
23 lines
413 B
Go
package world
|
|
|
|
import "mvvasilev/last_light/engine"
|
|
|
|
type EmptyDungeonMap struct {
|
|
level *BasicMap
|
|
}
|
|
|
|
func (edl *EmptyDungeonMap) Size() engine.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) {
|
|
|
|
}
|