LevelCompletedNode¶
Overview¶
This node is used to display a user's results when they complete a level.
@author John Blanco @author Chris Malley (PixelZoom, Inc.)
Class LevelCompletedNode¶
Constructor¶
new LevelCompletedNode( level : number, score : number, perfectScore : number, numberOfStars : number, timerEnabled : boolean, elapsedTime : number, bestTimeAtThisLevel : number | null, isNewBestTime : boolean, continueFunction : PushButtonListener, providedOptions? : LevelCompletedNodeOptions )¶
Instance Methods¶
dispose()¶
Type LevelCompletedNodeOptions¶
- levelVisible?: boolean
- ySpacing?: number
- titleFont?: Font
- infoFont?: Font
- buttonFont?: Font
- buttonFill?: TColor
- starDiameter?: number
- contentMaxWidth?: number | null
- & PanelOptions
Source Code¶
See the source for LevelCompletedNode.ts in the vegas repository.