Package rea.events

Class SceneUpdateEvent

java.lang.Object
rea.events.SceneUpdateEvent
All Implemented Interfaces:
UpdateEvent

public class SceneUpdateEvent extends Object implements 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 Details

    • SceneUpdateEvent

      public SceneUpdateEvent(Visual background, List<Positionable> positionables)
      Create a scene update event with a background and a set of positionables
      Parameters:
      background - to show
      positionables - to show
  • Method Details

    • getBackground

      public Visual getBackground()
      Background of this scene, representing a place
      Returns:
      background as a visual
    • getPositionables

      public List<Positionable> getPositionables()
      Positionables in this scene
      Returns:
      list of positionables