new server

This commit is contained in:
Smile Rex
2026-01-14 23:10:23 +03:00
parent 83f356cea9
commit c1df49fde1
12 changed files with 342 additions and 69 deletions

19
models/entity.go Normal file
View File

@@ -0,0 +1,19 @@
package models
type EntityType uint8
const (
EntityPlayer EntityType = 1
EntityNPC EntityType = 2
EntityBullet EntityType = 3
)
type Entity struct {
ID uint32
Type EntityType
X float32
Y float32
Z float32
Yaw float32
}