aboutsummaryrefslogtreecommitdiff
path: root/entity.go
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2023-09-19 07:24:57 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2023-09-19 07:24:57 +0200
commit129d4d173b7c55e7a24ed49c2f50b50c56192253 (patch)
tree00a32716281665c1f5e5f0a7de7e5b7332cf3c16 /entity.go
parent41ccd69496e5d15d05a44765fef15a14b24de8f4 (diff)
feat: Patroling order
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 75c1604..d19c304 100644
--- a/entity.go
+++ b/entity.go
@@ -16,6 +16,7 @@ type Entity struct {
Image Component[*ebiten.Image]
Selection Component[Selection]
Move Component[Move]
+ Order Component[Order]
}
func (e Entity) Bounds() Rectangle {