require 'IFMapper/FXConnection' require 'IFMapper/FXRoom' require 'IFMapper/Section' class FXSection < Section def new_connection( roomA, exitA, roomB, exitB = nil ) c = FXConnection.new( roomA, roomB ) return _new_connection(c, roomA, exitA, roomB, exitB) end def new_room(x, y) r = FXRoom.new( x, y, 'New Location' ) return _new_room(r, x, y) end def properties(map) if not @win @win = FXSectionDialogBox.new(map) end @win.copy_from(self) @win.show end end