server

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncrementSubtick added in v0.5.1

func IncrementSubtick() int64

IncrementSubtick for testkit.Mock

func IncrementTick added in v0.5.1

func IncrementTick()

IncrementTick for testkit.Mock

func ProcessScreenshots

func ProcessScreenshots(screen image.Image)

ProcessScreenshots processes pending screenshot requests. Call this from the game's Draw function.

func Tick

func Tick() int64

func Update

func Update() bool

Update processes RPC commands from the socket. Call this in your game loop's Update function.

Returns false if the game should exit (exit command received).

Types

This section is empty.

Jump to

Keyboard shortcuts

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