Documentation ¶
Index ¶
Constants ¶
View Source
const ( TileLayerDrawer = iota ObjectGroupDrawer ImageLayerDrawer GroupDrawer )
Drawer Types
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Camera ¶
func (*Camera) StartUpdate ¶
type Drawer ¶
type Drawer interface { Type() int Info() *LayerInfo Update() error Draw(image *ebiten.Image) error Image() *ebiten.Image }
type LayerInfo ¶
type LayerInfo struct {
// contains filtered or unexported fields
}
LayerInfo provides drawing information for the layer, it holds the recursively calculated offset, visibility, and color information, as well as a reference to the base map data. It prevides easy methods translating between tmx and pixel world coordinates.
type Resources ¶
type Resources struct {
// contains filtered or unexported fields
}
func LoadResources ¶
LoadResources searches through the tmx map tree and loads any resources found. If the resources are located somewhere other than the current working directory, the location should be supplied in the path string.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.