Examples of EasyDifficulty


Examples of games.memory.difficulty.EasyDifficulty

   * with a full deck of cards
   */
  private Memory()
  {
    gameBoard = new Card[4][13];
    difficulty = new EasyDifficulty();
    lives = difficulty.getLives();
    createBoard();
  }
View Full Code Here

Examples of games.memory.difficulty.EasyDifficulty

    @Test
    public void testInitilization()
    {
        Memory.reset();
        Memory memory = Memory.getInstance();
        Difficulty diff = new EasyDifficulty();
        memory.setDifficulty(diff);
        assertEquals(10, memory.getLives());
    }
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.