Popup
| Kind | class |
| Package | objects |
| Full name | objects.Popup |
| Source | source/objects/Popup.hx |
| Extends | FlxSprite |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
popTime | Float | no | 0 | — |
Public methods
new (constructor)
function new()
get_playbackRate
function get_playbackRate():Float
get_showRating
function get_showRating():Bool
setupRating
function setupRating(img:String)
| Parameter | Type | Default |
|---|---|---|
img | String | — |
setupNumber
function setupNumber(img:String, daLoop:Int, combo:Float)
| Parameter | Type | Default |
|---|---|---|
img | String | — |
daLoop | Int | — |
combo | Float | — |
alphaTween
function alphaTween(isNumber:Bool = false)
| Parameter | Type | Default |
|---|---|---|
isNumber (optional) | Bool | false |
kill
override function kill():Void
Returns the popup to PlayState.popUpGroup and counts the return so the pool
hit rate stays measurable. (#88)
revive
override function revive()
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
placement | Float | no |
playbackRate | Float | no |
showRating | Bool | no |
| Method |
|---|
inline function get_placement():Float |