Examples of YouLoseGameObjectFactory


Examples of voodoo.game.youlose.YouLoseGameObjectFactory

   * @param gameId The argument specifying which game to play.
   * @return The factory used to create all objects for the specified game.
   */
  public static GameObjectFactory getGameObjectFactory(String gameId) {
    if(gameId.equals(YOU_LOSE_GAME_ID)) {
      return new YouLoseGameObjectFactory();
    }
    throw new IllegalArgumentException();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.