Index

Manager

MMO.core.history · 1 symbol · generated 30 Sep 2026

class

Manager

history.js:243
class MMO.core.history.Manager
Namespace
MMO.core.history

Index

constructor()
add(action)Push an action on the stack, at the current position.
undo()Roll back the action before the cursor and step back.
redo()Replay the action at the cursor and step forward.

Methods4

add(action)

history.js:253

Push an action on the stack, at the current position.

add(action)
actionObjectanything exposing execute() and undo()

undo()

history.js:264

Roll back the action before the cursor and step back.

undo()
returnsboolean | Promisefalse when there is nothing left to undo

redo()

history.js:275

Replay the action at the cursor and step forward.

redo()
returnsboolean | Promisefalse when there is nothing left to redo