terraini

package
v0.0.0-...-e449b39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TerrainI

type TerrainI interface {
	Init() error
	GetOriRcsTiles() resourcetilearea.ResourceTileArea
	GetTiles() tilearea.TileArea
	GetName() string
	GetFieldObjPosMan() uuidposmani.UUIDPosManI
	GetRoomList() []*room.Room
	GetViewportCache() *viewportcache.ViewportCache
	FindPath(dstx, dsty, srcx, srcy int, trylimit int) [][2]int

	GetResetAfterNAgeing() int64
	GetMSPerAgeing() int64
	Ageing() error
	AgeingCount() int64

	GetXYLen() (int, int)
	GetXLen() int
	GetYLen() int
	GetXWrapper() *wrapper.Wrapper
	GetYWrapper() *wrapper.Wrapper
	WrapXY(x, y int) (int, int)
	// GetTileWrapped(x, y int) tile_flag.TileFlag
	GetTile2Discover() int
	GetRcsTiles() resourcetilearea.ResourceTileArea

	GetActiveObjCount() int
	GetCarryObjCount() int
	GetScript() []string

	Search1stByXYLenList(
		xylenlist findnear.XYLenList,
		sx, sy int,
		filterfn func(t *tile_flag.TileFlag) bool) (int, int, bool)

	Web_TerrainInfo(w http.ResponseWriter, r *http.Request)
	Web_TerrainImageZoom(w http.ResponseWriter, r *http.Request)
	Web_TerrainImageAutoZoom(w http.ResponseWriter, r *http.Request)
	Web_TileInfo(w http.ResponseWriter, r *http.Request)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL