Documentation ¶
Index ¶
- type LevelData
- type MapData
- func (md MapData) CollisionGrid(area area.ID) [][]bool
- func (md MapData) GetLevelData(id area.ID) (LevelData, bool)
- func (md MapData) LevelDataForCoords(p data.Position, playerArea area.Area) (LevelData, bool)
- func (md MapData) NPCsExitsAndObjects(areaOrigin data.Position, a area.ID) (data.NPCs, []data.Level, []data.Object, []data.Room)
- func (md MapData) Origin(area area.ID) data.Position
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapData ¶
type MapData []serverLevel
func GetMapData ¶
func GetMapData(seed string, difficulty difficulty.Difficulty) (MapData, error)
func (MapData) LevelDataForCoords ¶
func (MapData) NPCsExitsAndObjects ¶
Click to show internal directories.
Click to hide internal directories.