Cafu Engine
MC_WorldHasPlayerStartT Class Reference
Inheritance diagram for MC_WorldHasPlayerStartT:

Public Member Functions

 MC_WorldHasPlayerStartT (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...
 
- Public Member Functions inherited from MapCheckerT
 MapCheckerT (MapDocumentT &MapDoc, IntrusivePtrT< CompMapEntityT > Ent)
 The constructor. More...
 
virtual ~MapCheckerT ()
 The virtual destructor. More...
 
IntrusivePtrT< CompMapEntityTGetEnt () 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 CommandTGetFix () 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

- Protected Attributes inherited from MapCheckerT
MapDocumentTm_MapDoc
 
IntrusivePtrT< CompMapEntityTm_Ent
 

Member Function Documentation

wxString MC_WorldHasPlayerStartT::GetHelpText ( ) const
inlinevirtual

Returns a longer help text about the details of the problem and how it can be fixed.

Reimplemented from MapCheckerT.

wxString MC_WorldHasPlayerStartT::GetInfo ( ) const
inlinevirtual

Returns a brief information about the nature of the problem.

Reimplemented from MapCheckerT.

bool MC_WorldHasPlayerStartT::HasProblem ( ) const
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.


The documentation for this class was generated from the following file: