Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameSpeed ¶
type GameSpeed struct { // Is the game paused? Pause bool // Next tick to pause NextPause int64 // Speed index in Speeds. SpeedIndex uint8 // Available speeds in TPS. Speeds []uint16 }
GameSpeed resource.
type GameTick ¶
type GameTick struct { // Current update tick. Stops when the game is paused. Tick int64 }
GameTick resource.
type Mouse ¶
type Mouse struct { // whether the mouse is inside the game window. IsInside bool }
Mouse resource.
type Screen ¶
type Screen struct { // The screen image. Image *ebiten.Image // Current screen width. Width int // Current screen height. Height int }
Screen resource for drawing.
Click to show internal directories.
Click to hide internal directories.