Appends an event on the top. If the maximum event number is reached, it deletes the oldest one.
Sets the current number of events that are stored.
Gets the maximum number of events that can be stored.
Redos the event indicated by i in the list.
Redos the last undone event in the list indicated by the internal variable, topEvent. If topEvent equals the number of current events, it does nothing.
Removes the event stored at position indicated by i.
Sets the maximum number of events that can be stored.
Undos the event indicated by i in the list.
Undos the top event in the list indicated by the internal variable, topEvent. If topEvent equals -1, it does nothing.