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

18 lines
286 B
Go

package simulator
//Object is anything that can be placed in a pod
type Object interface {
Type() ObjectType
Tick()
String() string
Describe() string
}
//ObjectType is what kind of game object it is
type ObjectType int
const (
producerObject ObjectType = iota
consumerObject
)