A SelectionObject for that does not need an IDrawObject. Most types of selection, for tiles, settlements, knights, etc., don’t actually need a separate draw object to handle the selection possibilities, since the IGameObject::Select flag suffices to set them as selectable. The class DummySelectionObject provides a way for the Model to still signal to the View that a selection needs to happen, but that the visual representation of the selection will be taken care of by the objects themselves. The class <DrawDummySelectionObject> is the IDrawObject-derived class that “draws” the DummySelectionObject (by doing nothing).
DummySelectionObject.h
A SelectionObject for that does not need an IDrawObject. | |
The DummySelectionObject constructor. | |
Clones the HexSelectionObject. | |
Resets the class name of the DummySelectionObject. |
|
The DummySelectionObject constructor. Stores the given rule name. See SelectionObject for details.
|
| virtual IGameObject *Clone() |
| virtual wxString name() |