Skip to content

Instantly share code, notes, and snippets.

🌱
I may be slow to respond.

Rob Rohan robrohan

View GitHub Profile
View gist:a41d436daab34fb9943855a651d352e2
// Entity a object, something in the system
type Entity struct {
ID string
Name string
components []Componenter
}
type Componenter interface {
Parent() *Entity
SetParent(*Entity)
You can’t perform that action at this time.