Skip to content

AllLevelsCompletedNode

Overview

AllLevelsCompletedNode is a pseudo-dialog shown when all game levels have been completed.

@author Jonathan Olson

Class AllLevelsCompletedNode

import { AllLevelsCompletedNode } from 'scenerystack/vegas';

Constructor

new AllLevelsCompletedNode( listener : PushButtonListener, providedOptions? : AllLevelsCompletedNodeOptions )

Instance Methods

Type AllLevelsCompletedNodeOptions

import type { AllLevelsCompletedNodeOptions } from 'scenerystack/vegas';
  • faceDiameter?: number
    diameter of the smiley face
  • maxTextWidth?: number
    Controls the width of the main message and the text in the button
  • & NodeOptions

Source Code

See the source for AllLevelsCompletedNode.ts in the vegas repository.