You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
380 B
Go
17 lines
380 B
Go
package wire
|
|
|
|
import "github.com/jordanorelli/astro-domu/internal/math"
|
|
|
|
type Frame struct {
|
|
RoomName string `json:"room_name"`
|
|
RoomSize math.Rect `json:"room_size"`
|
|
Entities map[int]Entity `json:"entities"`
|
|
Players map[string]int `json:"players"`
|
|
}
|
|
|
|
func (Frame) NetTag() string { return "frame" }
|
|
|
|
func init() {
|
|
Register(func() Value { return new(Frame) })
|
|
}
|