Package megamek.common.event
Class MMEvent
java.lang.Object
megamek.common.event.MMEvent
- Direct Known Subclasses:
MMOptionsChangedEvent
,SuiteOptionsChangedEvent
Base class for all events
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cancelled
protected boolean cancelled
-
-
Constructor Details
-
MMEvent
public MMEvent()
-
-
Method Details
-
isCancellable
public boolean isCancellable()- Returns:
- true if the event can be cancelled (aborted)
-
isCancelled
public boolean isCancelled()- Returns:
- true if the event is cancelled
-
cancel
public void cancel()
-