Fix: various bug fix

This commit is contained in:
2025-10-16 07:12:01 +08:00
parent 5bbab63a2c
commit 0dea850cfa
16 changed files with 185 additions and 56 deletions

View File

@@ -2,4 +2,19 @@ package types
type ShutdownFunc func()
type RunFunc func() error
type StageType int
const (
StageLanding StageType = iota
StageLobby
StageGaming
)
type Program struct {
Run RunFunc
Stage StageType
}
type UsernameType = string