#include <ObjectStatStrategy.h>
Inheritance diagram for PatchStatStrategy:
Public Member Functions | |
PatchStatStrategy () | |
virtual | ~PatchStatStrategy () |
virtual bool | keyToStatus (const int &key, PMObjectPtr objPtr, PMSelectable::UI_Status &newStat) |
virtual bool | toggleStatus (PMObjectPtr objPtr, PMSelectable::UI_Status &newStat) |
virtual bool | setObjectStatus (PMSelectable::UI_Status newstatus, PMObjectPtr objPtr) |
|
|
|
|
|
Returns the new status to the given key (respecting the old status of the patch).
Reimplemented from ObjectStatStrategy. |
|
Sets the status of the patch AND the status of the patch packages
Reimplemented from ObjectStatStrategy. |
|
Toggles the patch status (e.g. from selected to unselected)
Reimplemented from ObjectStatStrategy. |