ErrorState
| Kind | class |
| Package | states |
| Full name | states.ErrorState |
| Source | source/states/ErrorState.hx |
| Extends | MusicBeatState |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
acceptCallback | Void->Void | no | — | — |
backCallback | Void->Void | no | — | — |
errorMsg | String | no | — | — |
errorSine | Float | no | 0 | — |
errorText | FlxText | no | — | — |
Public methods
new (constructor)
function new(error:String, accept:Void->Void = null, back:Void->Void = null)
| Parameter | Type | Default |
|---|---|---|
error | String | — |
accept | Void->Void = null, back:Void->Void = null | — |
onResize
override function onResize(width:Int, height:Int):Void
| Parameter | Type | Default |
|---|---|---|
width | Int | — |
height | Int | — |
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
background | FlxSprite | no |
| Method |
|---|
override function create() |
override function update(elapsed:Float) |