Versions in this module Expand all Collapse all v0 v0.0.1 Sep 5, 2026 Changes in this version + type ClientMetrics struct + type Collection struct + Items map[uint64]T + Lock sync.RWMutex + ToAppend []T + ToRemove []uint64 + func NewCollection[T any]() (collection *Collection[T]) + func (c *Collection[T]) Add(item T) + func (c *Collection[T]) Remove(id uint64) + type Game interface + Update func(dt float64) + type GameMetrics struct + Ticks struct{ ... } + Time struct{ ... } + type GameWrapper struct + Game Game + MaximumDelta float64 + Metrics *GameMetrics + func New(game Game, ticksPerSecond float64) (gw *GameWrapper) + func (gw *GameWrapper) Start() + func (gw *GameWrapper) Stop() + func (gw *GameWrapper) Wait()