Package games.memory.difficulty

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


    @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

Related Classes of games.memory.difficulty.EasyDifficulty

Copyright © 2018 www.massapicom. 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.