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

#include "Drawing2D.h"
#include "fluid_project/CFluidWindowMaze.h"
#include "CWindowMaze.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 );

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