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.

18 lines
318 B
Go

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