Class GameRegistry

java.lang.Object
edu.uw.calebcha.hvz.GameRegistry

public class GameRegistry
extends java.lang.Object
Stores all active HvZ games. Singleton.
Author:
Caleb Chan (cccfire)
  • Method Summary

    Modifier and Type Method Description
    java.util.List<HvZGame> getGames()
    Gets GameRegistry's stored games.
    GameRegistry getInstance()
    Get GameRegistry's singleton instance.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getInstance

      public GameRegistry getInstance()
      Get GameRegistry's singleton instance.
      Returns:
      GameRegistry instance
    • getGames

      public java.util.List<HvZGame> getGames()
      Gets GameRegistry's stored games.
      Returns:
      GameRegistry's stored games