aboutsummaryrefslogtreecommitdiff
path: root/resource.go
diff options
context:
space:
mode:
Diffstat (limited to 'resource.go')
-rw-r--r--resource.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/resource.go b/resource.go
index d52a438..5fb48ae 100644
--- a/resource.go
+++ b/resource.go
@@ -2,6 +2,8 @@ package main
import (
"time"
+
+ "age_of_empires/ecs"
)
type ResourceSource struct {
@@ -11,7 +13,7 @@ type ResourceSource struct {
type ResourceGatherer struct {
MaxCapacity int
CurrentVolume int
- CurrentTarget *Entity
+ Source ecs.Entity
LastPickupTime time.Time
}