Documentation ¶
Index ¶
Constants ¶
View Source
const ( CameraModeDefault = iota CameraModeCenter )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Camera ¶
type Camera struct { Surface *ebiten.Image // contains filtered or unexported fields }
Camera implements a basic camera following the idea from https://github.com/MelonFunction/ebiten-camera
func (*Camera) SetMode ¶
func (c *Camera) SetMode(mode CameraMode)
type CameraMode ¶
type CameraMode int
Click to show internal directories.
Click to hide internal directories.