Kryzeth Standard Library

data.planet

Methods2

function Planet.__index(table: StdLib.Data.Planet, key: any) -> value any

Custom __index function for function inheritance from both Space and Data.

Parameters
tableStdLib.Data.Planet

Planet wrapper

keyany

Field or method key

Returns
valueany
function Planet.__call(planet: string) -> planet StdLib.Data.Planet

Looks up and wraps a planet by name.

Parameters
planetstring

Planet prototype name

Returns

Fields1

Planet.__class: string = "Planet"