aboutsummaryrefslogtreecommitdiff
path: root/resource.go
blob: 5fb48aec3481940d6c44cfc4b5c405037e858cbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

package main

import (
	"time"

	"age_of_empires/ecs"
)

type ResourceSource struct {
	Remaining int
}

type ResourceGatherer struct {
	MaxCapacity    int
	CurrentVolume  int
	Source         ecs.Entity
	LastPickupTime time.Time
}

type ResourceStorage struct{}