reflection goes out of the window
This commit is contained in:
@ -2,8 +2,13 @@ package ecs
|
||||
|
||||
// ECS system by jcerise, github.com/jcerise/gogue
|
||||
|
||||
import "reflect"
|
||||
const AppearanceComponent = "appearance"
|
||||
const CoordsComponent = "coords"
|
||||
const MobComponent = "mob"
|
||||
const MoveableComponent = "movable"
|
||||
const CarriedComponent = "carried"
|
||||
const UsableComponent = "usable"
|
||||
|
||||
type Component interface {
|
||||
TypeOf() reflect.Type
|
||||
Type() string
|
||||
}
|
Reference in New Issue
Block a user