Documentation ¶
Index ¶
- Constants
- func CyberspaceExtra(triple object.Triple, data []byte) *interpreters.Instance
- func ForCyberspace(triple object.Triple, data []byte) *interpreters.Instance
- func ForRealWorld(triple object.Triple, data []byte) *interpreters.Instance
- func RealWorldExtra(triple object.Triple, data []byte) *interpreters.Instance
- type InterpreterFactory
Constants ¶
View Source
const ( // EnergyWeaponMaxTemperature is the maximum value possible for heat. EnergyWeaponMaxTemperature = 100 // EnergyWeaponMaxEnergy is the maximum value for energy. // The original source does not explicitly state this value, it has been determined by looking at // a savegame with the energy set to max. A closely related number in the source is // in the macro "mfd_charge_units_per_pixel", which scales to 69. EnergyWeaponMaxEnergy = 59 )
Variables ¶
This section is empty.
Functions ¶
func CyberspaceExtra ¶
func CyberspaceExtra(triple object.Triple, data []byte) *interpreters.Instance
CyberspaceExtra returns an interpreter instance that handles the level object extra data of the specified object - in cybperspace.
func ForCyberspace ¶
func ForCyberspace(triple object.Triple, data []byte) *interpreters.Instance
ForCyberspace returns an interpreter instance that handles the level class data of the specified object - in cyberspace.
func ForRealWorld ¶
func ForRealWorld(triple object.Triple, data []byte) *interpreters.Instance
ForRealWorld returns an interpreter instance that handles the level class data of the specified object - in real world.
func RealWorldExtra ¶
func RealWorldExtra(triple object.Triple, data []byte) *interpreters.Instance
RealWorldExtra returns an interpreter instance that handles the level object extra data of the specified object - in real world.
Types ¶
type InterpreterFactory ¶
type InterpreterFactory func(object.Triple, []byte) *interpreters.Instance
InterpreterFactory returns an interpreter instance according to a specific object triple.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.