コード例 #1
0
 public OASISRoom(String name, int id, int size)
 {
     roomImage   = new OricPicture(size, 17 * 8);
     roomName    = name;
     roomID      = id;
     roomSize    = size;
     roomZPlanes = 0;
     walkBoxes   = new WalkBoxManager();
 }
コード例 #2
0
 public OASISRoom(int size)
 {
     if (size == 0)
     {
         roomImage = null;
     }
     else
     {
         roomImage = new OricPicture(size, 17 * 8);
     }
     roomName    = "No name";
     roomID      = 0;
     roomSize    = size;
     roomZPlanes = 0;
     walkBoxes   = new WalkBoxManager();
 }