예제 #1
0
 public Room room() {
   if ((roomID.length() > 0) && ((roomCache == null) || (roomCache.amDestroyed()))) {
     roomCache = CMLib.map().getRoom(roomID);
     if (roomCache != null) fixExits(roomCache);
   }
   return roomCache;
 }
예제 #2
0
 public GrinderRoom(Room R) {
   roomCache = null;
   if (!R.amDestroyed()) {
     roomCache = R;
     fixExits(R);
   }
   roomID = R.roomID();
 }
예제 #3
0
 public boolean isRoomGood() {
   return ((roomCache != null) && (!roomCache.amDestroyed()));
 }