Public Member Functions | |
MC_WorldHasPlayerPrototypeT (MapDocumentT &MapDoc, IntrusivePtrT< CompMapEntityT > Ent) | |
bool | HasProblem () const |
Returns whether this map checker has actually identified a problem with the entity it is assigned to. More... | |
wxString | GetInfo () const |
Returns a brief information about the nature of the problem. More... | |
wxString | GetHelpText () const |
Returns a longer help text about the details of the problem and how it can be fixed. More... | |
![]() | |
MapCheckerT (MapDocumentT &MapDoc, IntrusivePtrT< CompMapEntityT > Ent) | |
The constructor. More... | |
virtual | ~MapCheckerT () |
The virtual destructor. More... | |
IntrusivePtrT< CompMapEntityT > | GetEnt () const |
Returns the entity that this checker is assigned to. More... | |
virtual bool | CanFix () const |
Returns whether this checker is able to provide a fix the problem (some problems can only be detected, but not fixed). More... | |
virtual CommandT * | GetFix () const |
Returns a command that fixes the problem, if possible (that is, when HasProblem() and CanFix() returns true). Returns NULL otherwise. More... | |
Additional Inherited Members | |
![]() | |
MapDocumentT & | m_MapDoc |
IntrusivePtrT< CompMapEntityT > | m_Ent |
|
inlinevirtual |
Returns a longer help text about the details of the problem and how it can be fixed.
Reimplemented from MapCheckerT.
|
inlinevirtual |
Returns a brief information about the nature of the problem.
Reimplemented from MapCheckerT.
|
inlinevirtual |
Returns whether this map checker has actually identified a problem with the entity it is assigned to.
When false, there either never was a problem in the first place, or it has been fixed already.
Reimplemented from MapCheckerT.