class MapGeneratorState: EditorState¶

A wrapper around Geometer’s EditorState meant for stepping through map generation.

onFinish: fun(builder: LevelBuilder)?¶
__new(
    self: MapGeneratorState,
    generator: function,
    builder: LevelBuilder,
    display: Display,
    onFinish?: fun(builder: LevelBuilder)
)¶
co: thread¶

Other members:

Inherited from EditorState: editor

Inherited from GameState: audiodisconnected(), directorydropped(), displayrotated(), draw(), dropbegan(), dropcompleted(), dropmoved(), errorhandler(), exposesd(), filedropped(), focus(), gamepadaxis(), gamepadpressed(), gamepadreleased(), getManager(), joystickadded(), joystickaxis(), joystickhat(), joystickpressed(), joystickreleased(), joystickremoved(), joysticksensorupdated(), keypressed(), keyreleased(), load(), localechanged(), lowmemory(), manager, mousefocus(), mousemoved(), mousepressed(), mousereleased(), occluded(), pause(), quit(), resize(), resume(), run(), sensorupdated(), textedited(), textinput(), threaderror(), touchmoved(), touchpressed(), touchreleased(), unload(), update(), visible(), wheelmoved()

Inherited from Object: _serializationBlacklist, adopt(), assertType(), className, deepcopy(), deserialize(), extend(), instanceOf(), is(), isInstance(), mixin(), prettyprint(), serializationBlacklist, serialize()

Logo

Reading Mode

Navigation

  • Installation
  • Architecture primer
  • Conventions
  • Gallery

How-tos

  • Object registration
  • Queries
  • Animation
  • Collision
  • Input handling
  • Targets

Making a roguelike

  • Getting started
  • Taking flight
  • Starting fights
  • Taking licks
  • Writing things down
  • Losing the game
  • Carving out caverns
  • Descending into the depths
  • Creating continuity
  • Stashing treasure
  • Packing your bags
  • Having a snack
  • Brewing potions
  • Zapping wands
  • Gearing up
  • Saving the game

Explainers

  • The game loop

Reference

  • Prism
  • Spectrum
  • Extra
  • Geometer
    • EditorState
    • MapGeneratorState
      • onFinish
      • __new()
      • co

Related Topics

  • Documentation overview
    • Geometer
      • Previous: EditorState
©2025, Matthew Blanchard, LJNIC. | Powered by Sphinx 8.2.3 & Alabaster 1.0.0 | Page source