Skip to main content

PlatformWorld Class

Description:

  A class for instantiating instances of PlatformWorld.

Usage:

local PlatformWorld = require("PlatformWorld")
local world = PlatformWorld()
world:addTo(entry)

__call

Type: Metamethod.

Description:

  The metamethod to create a new instance of PlatformWorld.

Signature:

metamethod __call: function(self: PlatformWorldClass): PlatformWorld

Returns:

Return TypeDescription
PlatformWorldA new instance of PlatformWorld.