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

Public Member Functions

 BaseMatrixFollowTargetHolder (const char *, s32, s32)
 
virtual void initAfterPlacement ()
 
virtual void movement ()
 
- 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 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 ()
 

Public Attributes

MR::Vector< MR::AssignableArray< BaseMatrixFollower * > > mFollowers
 
MR::Vector< MR::AssignableArray< BaseMatrixFollowTarget * > > mTargets
 
- 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 49 of file BaseMatrixFollowTargetHolder.hpp.

Constructor & Destructor Documentation

◆ ~BaseMatrixFollowTargetHolder()

BaseMatrixFollowTargetHolder::~BaseMatrixFollowTargetHolder ( )
virtual

Definition at line 73 of file BaseMatrixFollowTargetHolder.cpp.

Member Function Documentation

◆ initAfterPlacement()

virtual void BaseMatrixFollowTargetHolder::initAfterPlacement ( )
virtual

Reimplemented from NameObj.

◆ movement()

virtual void BaseMatrixFollowTargetHolder::movement ( )
virtual

Reimplemented from NameObj.

Member Data Documentation

◆ mFollowers

MR::Vector<MR::AssignableArray<BaseMatrixFollower*> > BaseMatrixFollowTargetHolder::mFollowers

Definition at line 58 of file BaseMatrixFollowTargetHolder.hpp.

◆ mTargets

MR::Vector<MR::AssignableArray<BaseMatrixFollowTarget*> > BaseMatrixFollowTargetHolder::mTargets

Definition at line 59 of file BaseMatrixFollowTargetHolder.hpp.