Board Game Scene
Baseclass for BGW game scenes.
Extend this class in order to create your own game scene.
Parameters
Scene in virtual coordinates. Default: DEFAULT_SCENE_WIDTH.
Scene in virtual coordinates. Default: DEFAULT_SCENE_HEIGHT.
BoardGameSceneVisual. Default: ColorVisual.WHITE.
Constructors
Functions
Adds all given ComponentViews to the root node and rootComponents list.
Removes all ComponentViews from the root node and rootComponents list.
Plays given Animation.
Removes all given ComponentViews from the root node and rootComponents list.
Properties
Returns all root components that are currently contained in this Scene.
Currently dragged ComponentView encapsulated in a DragDataObject or null
if no DynamicComponentView is currently dragged.
Property that indicates if this BoardGameScene is locked from user input.
Gets invoked with a KeyEvent whenever a key is pressed.
Gets invoked with a KeyEvent whenever a key is released.
Gets invoked with a KeyEvent whenever a Character is typed. Gets invoked after onKeyPressed .