30 #include "../../enum/AbstractType.h"
31 #include "../mvc/ItemObserver.h"
32 #include "../../../item/MapModel.h"
33 #include "../../enum/Enums.h"
40 #include <boost/foreach.hpp>
60 foreach( QGraphicsItem *it, graphicsItems)
Class to represent a visitable. All classes representing a visitable must inherit from this class...
VisitorUtils()
Constructor.
virtual ~VisitorUtils()
Destructor.
Abstract class to represent a visitor. All classes representing a visitor must inherit from this clas...
Utility class for visitor.
Abstract class to represent an observable. "Model" part of MVC component. All classes representing th...
Abstract class to represent an observer. "View" part of MVC component. All classes representing the g...
virtual void acceptVisitor(AbstractVisitor *visitor)
Adds the specified visitor to the set of visitors for this object.
Abstract class to represent a visitor. All classes representing a visitor must inherit from this clas...
Class that represents a "Model" part of Map MVC component. Its coordinate system is the same of scene...
virtual Observable * getModel()
Returns the "Model" part of the MVC.
bool changeMapVisitable(QList< QGraphicsItem * > graphicsItems, Visitable *visitable)
Sets the other map (MapModel) for visitable.