SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
PlacementStateChecker Class Reference
Inheritance diagram for PlacementStateChecker:
NameObj

Public Member Functions

 PlacementStateChecker (const char *)
 
void setCurrentPlacementZoneId (int)
 
void clearCurrentPlacementZoneId ()
 
int getCurrentPlacementZoneId () const
 
- Public Member Functions inherited from NameObj
 NameObj (const char *pName)
 Constructs a new NameObj instance.
 
virtual void init (const JMapInfoIter &rIter)
 Intializes the NameObj and can set various settings and construct necessary classes.
 
virtual void initAfterPlacement ()
 
virtual void movement ()
 
virtual void draw () const
 Draws the object. Does nothing until overridden.
 
virtual void calcAnim ()
 
virtual void calcViewAndEntry ()
 
void initWithoutIter ()
 Initializes a NameObj without a JMapInfoIter instance.
 
void setName (const char *pName)
 Sets the NameObj's mName.
 
void executeMovement ()
 
void requestSuspend ()
 
void requestResume ()
 
void syncWithFlags ()
 

Private Attributes

int mCurrentZoneId
 

Additional Inherited Members

- Public Attributes inherited from NameObj
const char * mName
 A string to identify the NameObj.
 
volatile u16 mFlags
 Flags in relation to movement.
 
s16 mExecutorIdx
 The index into the NameObjExecuteInfo array.
 

Detailed Description

Definition at line 5 of file PlacementStateChecker.hpp.

Constructor & Destructor Documentation

◆ PlacementStateChecker()

PlacementStateChecker::PlacementStateChecker ( const char * pName)

Definition at line 4 of file PlacementStateChecker.cpp.

◆ ~PlacementStateChecker()

PlacementStateChecker::~PlacementStateChecker ( )
virtual

Definition at line 26 of file PlacementStateChecker.cpp.

Member Function Documentation

◆ setCurrentPlacementZoneId()

void PlacementStateChecker::setCurrentPlacementZoneId ( int zoneID)

Definition at line 8 of file PlacementStateChecker.cpp.

◆ clearCurrentPlacementZoneId()

void PlacementStateChecker::clearCurrentPlacementZoneId ( )

Definition at line 12 of file PlacementStateChecker.cpp.

◆ getCurrentPlacementZoneId()

int PlacementStateChecker::getCurrentPlacementZoneId ( ) const

Definition at line 16 of file PlacementStateChecker.cpp.

Member Data Documentation

◆ mCurrentZoneId

int PlacementStateChecker::mCurrentZoneId
private

Definition at line 16 of file PlacementStateChecker.hpp.