2
* This file is part of the dis-Emi-A HaXe Library. Copyright © edA-qa mort-ora-y
3
* For full copyright and license information please refer to doc/license.txt.
10
class LevelDisplay extends ui.AnimatedWidget
15
public function new( game : Game )
20
bar = ui.DotBar.simple(
22
draw.fragments.Polygon.shape( {
24
angleStart: Math.PI/4,
25
pen : Pen.solid( 2, Color.rgb( 1, 1, 0.8 ) ),
26
brush : Brush.solid( Color.rgb( 0.5, 1, 0.5 ), 0.5 )
32
override function _animate( elapsed : Float )
34
bar.setNumActive( game.level );
37
override function _resize( w : Float, h : Float )