Defines the Map Component.
Map | Defines the Map Component. |
Functions | |
new | |
New Map | A container for Mudlet’s built-in Map display. |
Variables | |
container | Parent Frame. |
is_hidden | Special handling for special Map hiding. |
Properties | |
Map Properties | |
Functions | |
updateAbsolutes | Sets the actual size and position of the Map using the parent Frame’s Content. |
Draw | The map magically appears! |
Resize | Adjusts the Map’s size. |
Move | Moves the Map. |
Hide | Hides the Map. |
Show | Returns the Map to its original size. |
A container for Mudlet’s built-in Map display.
Variables | |
container | Parent Frame. |
is_hidden | Special handling for special Map hiding. |
Properties | |
Map Properties | |
Functions | |
updateAbsolutes | Sets the actual size and position of the Map using the parent Frame’s Content. |
Draw | The map magically appears! |
Resize | Adjusts the Map’s size. |
Move | Moves the Map. |
Hide | Hides the Map. |
Show | Returns the Map to its original size. |
local function new ( _, init_x, init_y, init_width, init_height )
Parent Frame.
local container
Special handling for special Map hiding.
local is_hidden
Sets the actual size and position of the Map using the parent Frame’s Content.
local function updateAbsolutes ()
The map magically appears!
function new_map:Draw ()
Adjusts the Map’s size.
function new_map:Resize ( new_width, new_height )
Moves the Map.
function new_map:Move ( new_x, new_y )
Hides the Map.
function new_map:Hide ()
Returns the Map to its original size.
function new_map:Show ()