diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-09 00:27:32 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-09 00:27:32 +0200 |
| commit | 1bae69b2fdbcf35641d5d4a403cfb6261e34297d (patch) | |
| tree | e7cb590384602e06aeaff75a930055a2f96a8811 /entity.go | |
| parent | 8216f68ff8516cebc961028f8b8a87c1684dc15a (diff) | |
Spawn units
Diffstat (limited to 'entity.go')
| -rw-r--r-- | entity.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 { |
