Skip to main content

Crate flatland_play_loop

Crate flatland_play_loop 

Source
Expand description

Shared play-session frame logic for flatland3-gfx.

Owns local-only state (movement, chat, map target) and input routing helpers. Networking and egui rendering stay in tools/flatland-gfx.

Structs§

ActionCtx
ChatSession
PlayHudInput
Local HUD inputs for building PlayHud.
PlayLocalState

Constants§

MOVEMENT_SEND_INTERVAL_MS

Functions§

build_play_hud
dispatch_action
dispatch_menu_key
Returns true if the key was consumed by a menu handler.
movement_interval_elapsed
should_dispatch_to_net
Actions handled entirely on the client — not sent as game intents.