mirror of
https://github.com/genxium/DelayNoMore
synced 2025-01-28 05:41:22 +00:00
15 lines
501 B
Go
15 lines
501 B
Go
|
package models
|
||
|
|
||
|
import "github.com/ByteArena/box2d"
|
||
|
|
||
|
type Pumpkin struct {
|
||
|
LocalIdInBattle int32 `json:"localIdInBattle,omitempty"`
|
||
|
LinearSpeed float64 `json:"linearSpeed,omitempty"`
|
||
|
X float64 `json:"x,omitempty"`
|
||
|
Y float64 `json:"y,omitempty"`
|
||
|
Removed bool `json:"removed,omitempty"`
|
||
|
Dir *Direction `json:"-"`
|
||
|
CollidableBody *box2d.B2Body `json:"-"`
|
||
|
RemovedAtFrameId int32 `json:"-"`
|
||
|
}
|