Documentation
¶
Index ¶
- 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 FromBinaryCodedDecimal(bcd uint16) (value uint16)
- func RealWorldExtra(triple object.Triple, data []byte) *interpreters.Instance
- func ToBinaryCodedDecimal(value uint16) (bcd uint16)
- type InterpreterFactory
Constants ¶
This section is empty.
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 FromBinaryCodedDecimal ¶
FromBinaryCodedDecimal converts given 4-digit BCD value into an integer.
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.
func ToBinaryCodedDecimal ¶
ToBinaryCodedDecimal converts given integer value to a 4-digit BCD value.
Types ¶
type InterpreterFactory ¶
type InterpreterFactory func(object.Triple, []byte) *interpreters.Instance
InterpreterFactory returns an interpreter instance according to a specific object triple.