Files
tma-back/models/entity.go
2026-01-14 23:10:23 +03:00

20 lines
243 B
Go

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
}