This commit is contained in:
2025-01-13 13:23:52 +01:00
parent 91cdbab54a
commit d301d597e8
5 changed files with 203 additions and 2 deletions

View File

@ -27,6 +27,7 @@ type Player struct {
CurrentTick int64
LastUpdateTime time.Time
InterpolationProgress float32
UserData interface{} // Used to store reference to game
}
type ModelAsset struct {
@ -34,6 +35,12 @@ type ModelAsset struct {
Texture rl.Texture2D
}
type ChatMessage struct {
PlayerID int32
Content string
Time time.Time
}
const (
MapWidth = 50
MapHeight = 50