Class: GraphicTimeCurrencies

GraphicTimeCurrencies

The graphic displaying all currencies and play time in scene menu

new GraphicTimeCurrencies ()

Properties:
Name Type Description
currencies Array.<GraphicTextIcon> The graphic text icon list of currencies
time number The time in seconds
graphicPlayTime GraphicText The graphic text for play time
height number The graphic height

Methods

update ()

Update the play time

drawBox (x, y, w, h)

Drawing the content
Name Type Description
x number The x position to draw graphic
y number The y position to draw graphic
w number The width dimention to draw graphic
h number The height dimention to draw graphic