Package labyrinth

Examples of labyrinth.Room


  /**
          * Put the character in another room
          * @param current the room where you want to put him
          */
  public void moveRandom() {
    Room choosen = currentRoom;
    int cpt = 0, maxLight = 0;
   
    // Find the brightest room (i.e. find the player if the monster sees the light).
    for (Room r : accessibleRooms)
    {
View Full Code Here

TOP

Related Classes of labyrinth.Room

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.