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