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
287 B
Go

4 years ago
package wire
import (
"github.com/jordanorelli/astro-domu/internal/math"
)
type Entity struct {
Position math.Vec `json:"position"`
Glyph rune `json:"glyph"`
}
func (Entity) NetTag() string { return "entity" }
func init() {
Register(func() Value { return new(Entity) })
}