spacetea/simulator/object.go

18 lines
286 B
Go
Raw Normal View History

2022-05-19 17:09:46 -04:00
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
)