Skip to main content

Popup

Kindclass
Packageobjects
Full nameobjects.Popup
Sourcesource/objects/Popup.hx
ExtendsFlxSprite

Public fields​

NameTypeStaticDefaultNotes
popTimeFloatno0—

Public methods​

new (constructor)​

function new()

View source

get_playbackRate​

function get_playbackRate():Float

View source

get_showRating​

function get_showRating():Bool

View source

setupRating​

function setupRating(img:String)
ParameterTypeDefault
imgString—

View source

setupNumber​

function setupNumber(img:String, daLoop:Int, combo:Float)
ParameterTypeDefault
imgString—
daLoopInt—
comboFloat—

View source

alphaTween​

function alphaTween(isNumber:Bool = false)
ParameterTypeDefault
isNumber (optional)Boolfalse

View source

kill​

override function kill():Void

Returns the popup to PlayState.popUpGroup and counts the return so the pool hit rate stays measurable. (#88)

View source

revive​

override function revive()

View source

Internals​

Private / internal members
FieldTypeStatic
placementFloatno
playbackRateFloatno
showRatingBoolno
Method
inline function get_placement():Float