Represents a single entry in the pause menu.

Fields

text:String

* The text to display for this entry. * TODO: Implement localization.

@:optionaloptionalsprite:Null<AtlasText>

* The text object currently displaying this entry.

@:optionaloptionalfilter:Null<() ‑> Bool>

* If this returns true, the entry will be displayed. If it returns false, the entry will be hidden.

callback:PauseSubState ‑> Void

* The callback to execute when the user selects this entry.