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.
21 lines
396 B
Go
21 lines
396 B
Go
4 years ago
|
package wire
|
||
|
|
||
|
import (
|
||
|
"github.com/jordanorelli/astro-domu/internal/math"
|
||
|
)
|
||
|
|
||
|
type Welcome struct {
|
||
|
Room struct {
|
||
|
Origin math.Vec `json:"origin"`
|
||
|
Width int `json:"width"`
|
||
|
Height int `json:"height"`
|
||
|
} `json:"room"`
|
||
|
Entities map[int]Entity `json:"entities"`
|
||
|
}
|
||
|
|
||
|
func (Welcome) NetTag() string { return "welcome" }
|
||
|
|
||
|
func init() {
|
||
|
Register(func() Value { return new(Welcome) })
|
||
|
}
|