diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2023-10-06 09:21:07 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2023-10-06 09:21:07 +0200 |
| commit | ad119e88258cf6add42c9570b7a2b7b591fd0b99 (patch) | |
| tree | 3257ed5ef24c19d2f50ea044a3c842b506be5a20 /resource.go | |
| parent | 987aa73f11f4c5fbc7136313c77aaad42e7e9edd (diff) | |
feat(order): Gather resources
Diffstat (limited to 'resource.go')
| -rw-r--r-- | resource.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/resource.go b/resource.go new file mode 100644 index 0000000..1639cb2 --- /dev/null +++ b/resource.go @@ -0,0 +1,16 @@ +package main + +import "time" + +type ResourceSource struct { + Remaining int +} + +type ResourceGatherer struct { + MaxCapacity int + CurrentVolume int + CurrentTarget *Entity + LastPickupTime time.Time +} + +type ResourceStorage struct{} |
