mirror of
https://github.com/genxium/DelayNoMore
synced 2025-12-10 14:59:16 +00:00
Initial commit.
This commit is contained in:
13
battle_srv/models/barrier.go
Normal file
13
battle_srv/models/barrier.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"github.com/ByteArena/box2d"
|
||||
)
|
||||
|
||||
type Barrier struct {
|
||||
X float64
|
||||
Y float64
|
||||
Type uint32
|
||||
Boundary *Polygon2D
|
||||
CollidableBody *box2d.B2Body
|
||||
}
|
||||
Reference in New Issue
Block a user