spacetea/simulator/producer.go
2022-05-19 17:09:46 -04:00

17 lines
258 B
Go

package simulator
//Producer is a game object that producers a material
type Producer interface {
Object
Tick()
Get() Produce
String() string
Describe() string
}
//Produce is the result of a producer
type Produce struct {
Kind itemType
Value int
}