aboutsummaryrefslogtreecommitdiff
path: root/entity.go
diff options
context:
space:
mode:
Diffstat (limited to 'entity.go')
-rw-r--r--entity.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/entity.go b/entity.go
index b784c04..185efdb 100644
--- a/entity.go
+++ b/entity.go
@@ -16,6 +16,7 @@ type Entity struct {
ResourceGatherer ecs.Component[ResourceGatherer]
ResourceSource ecs.Component[ResourceSource]
ResourceStorage ecs.Component[ResourceStorage]
+ Spawn ecs.Component[Spawn]
}
func (e Entity) Bounds() physics.Rectangle {