class EditorState: GameState¶

The game state for Geometer. This should be the only thing you have to interface with to use Geometer in a game.

editor: Editor¶
__new(
    self: EditorState,
    attachable: SpectrumAttachable,
    display: any,
    fileEnabled: any
)¶

Create a new Editor managing gamestate, attached to a SpectrumAttachable, this is a Level|LevelBuilder interface.

Other members:

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
      • editor
      • __new()
    • MapGeneratorState

Related Topics

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