class

Creates a new class object.

Kind: Function

Environments: Game, Terrain

Game

class( base )

Open the full Game reference

Parameters:

Name Type Description
base (optional) table An optional base class to inherit from. (Defaults to inheriting from no class)

Returns:

Type Description
table Class table.

Terrain

class( base )

Open the full Terrain reference

Parameters:

Name Type Description
base (optional) table An optional base class to inherit from. (Defaults to inheriting from no class)

Returns:

Type Description
table Class table.