Package rea.events

Class GamesUpdateEvent

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

public class GamesUpdateEvent extends Object implements UpdateEvent
An event that is sent to the client to update the list of games to play.
Author:
José Paulo Leal jpleal@fc.up.pt
  • Constructor Details

    • GamesUpdateEvent

      public GamesUpdateEvent(List<GameInstance> gamesToPlay)
      Create a games update event with a list of games to play
      Parameters:
      gamesToPlay - the list of games to play
  • Method Details

    • getGamesToPlay

      public List<GameInstance> getGamesToPlay()
      Get the list of games to play
      Returns:
      a list of games to play