Documentation ¶
Overview ¶
Package render provides the interfaces for the various renderers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Engine ¶
type Engine interface { SetProjection(projection.Projection) image.Rectangle GetProjection() projection.Projection GetHeightFactor() float64 SetHeightFactor(float64) Draw() image.Image CurrentMapName() string ListMaps() []fs.DirEntry LoadMap(string) error }
Engine defines the possible methods to interract from the Renderer to the Engine.
Directories ¶
Path | Synopsis |
---|---|
Package ebitenrenderer provides a ebiten impementation of the renderer.
|
Package ebitenrenderer provides a ebiten impementation of the renderer. |
Package pngrenderer provides a stdlib image/png impementation of the renderer.
|
Package pngrenderer provides a stdlib image/png impementation of the renderer. |
Click to show internal directories.
Click to hide internal directories.