Skip to content
ClassCore & Lifecycle@public

FlxSubState ​

A state that can be layered over another state, including another substate.

ts
export declare class FlxSubState extends FlxState

Properties ​

PropertyModifiersTypeDescription
closeCallback-FlxSubStateCallback | null-
openCallback-FlxSubStateCallback | null-

Methods ​

close() ​

ts
close(): void

Closes this substate through its owning state at the next safe boundary.

Returns: void

destroy() ​

ts
destroy(): void

Returns: void

Released under the MIT License.