2022-05-17 23:29:59 -04:00
|
|
|
package simulator
|
|
|
|
|
|
|
|
//Factory is a game object that can hold resources and produce something
|
|
|
|
type Factory struct {
|
|
|
|
Resources map[int]int
|
2022-05-19 17:09:46 -04:00
|
|
|
value int
|
|
|
|
outputType int
|
2022-05-17 23:29:59 -04:00
|
|
|
Description string
|
2022-05-19 17:09:46 -04:00
|
|
|
formula string
|
2022-05-17 23:29:59 -04:00
|
|
|
}
|
|
|
|
|
2022-05-19 17:09:46 -04:00
|
|
|
//Tick a beat
|
2022-05-17 23:29:59 -04:00
|
|
|
func (f *Factory) Tick() {
|
|
|
|
panic("not implemented") // TODO: Implement
|
|
|
|
}
|
|
|
|
|
2022-05-19 17:09:46 -04:00
|
|
|
//Get produce
|
2022-05-17 23:29:59 -04:00
|
|
|
func (f *Factory) Get() Produce {
|
|
|
|
panic("not implemented") // TODO: Implement
|
|
|
|
}
|
|
|
|
|
2022-05-19 17:09:46 -04:00
|
|
|
//String
|
2022-05-17 23:29:59 -04:00
|
|
|
func (f *Factory) String() string {
|
|
|
|
panic("not implemented") // TODO: Implement
|
|
|
|
}
|