Package rea.events
Class SceneUpdateEvent
java.lang.Object
rea.events.SceneUpdateEvent
- All Implemented Interfaces:
UpdateEvent
An event that updates the scene, i.e. what is shown in a particular place,
including the background and the positionables.
- Author:
- José Paulo Leal
jpleal@fc.up.pt
-
Constructor Summary
ConstructorsConstructorDescriptionSceneUpdateEvent
(Visual background, List<Positionable> positionables) Create a scene update event with a background and a set of positionables -
Method Summary
Modifier and TypeMethodDescriptionBackground of this scene, representing a placePositionables in this scene
-
Constructor Details
-
SceneUpdateEvent
Create a scene update event with a background and a set of positionables- Parameters:
background
- to showpositionables
- to show
-
-
Method Details
-
getBackground
Background of this scene, representing a place- Returns:
- background as a visual
-
getPositionables
Positionables in this scene- Returns:
- list of positionables
-