4
* Score the score gained from something at a location on the screen.
6
class ScoreLiveObject extends TextLiveObject
9
* @param lo [in] LiveObject to place score beside, if null score will be centered
10
* @param score [in] which score to display
12
public function new( gd :GameDriver, lo : LiveObject, score : Int )
14
var text = if( score >= 0 ) "+" + score
16
super( gd, lo, text, true );