// @topic W010301 FLTK FLUID -- maze navigation
// @brief main() -- configures rooms, creates window (fluid project <a href="http://www.c-jump.com/bcc/c255c/c255samples13F/Week01/e003_fluid_design/fluid_project/MazeWindow.fl">MazeWindow.fl</a>)

#include "fluid_project/MazeWindow.h"

int main()
{
    // create data model
    Room kitchen = "kitchen";
    Room nroom = "north";
    Room eroom = "east";
    Room sroom = "south";
    Room wroom = "west";
    kitchen.add_door( Room::COMPASS_NORTH, &nroom );
    kitchen.add_door( Room::COMPASS_EAST, &eroom );
    kitchen.add_door( Room::COMPASS_SOUTH, &sroom );
    kitchen.add_door( Room::COMPASS_WEST, &wroom );

    CMazeWindow window( &kitchen );
    window.show( &kitchen );
    return Fl::run();
}