Starting to add in assets.
This commit is contained in:
@@ -2,6 +2,25 @@ package gamedata
|
||||
|
||||
import "math"
|
||||
|
||||
type DinoType int
|
||||
|
||||
const (
|
||||
DinoTypeGreen DinoType = iota
|
||||
DinoTypeBlue
|
||||
DinoTypeRed
|
||||
DinoTypeYellow
|
||||
DinoTypeMax
|
||||
)
|
||||
|
||||
type DinoAction int
|
||||
|
||||
const (
|
||||
DinoActionIdle DinoAction = iota
|
||||
DinoActionWalk
|
||||
DinoActionSlap
|
||||
DinoActionMax
|
||||
)
|
||||
|
||||
type Coordinates struct {
|
||||
X float64 `json:"X"`
|
||||
Y float64 `json:"Y"`
|
||||
|
||||
Reference in New Issue
Block a user