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

package engine

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{}