NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
dWmEnPath_c Class Reference

Description

Definition at line 15 of file d_wm_en_path.hpp.

Public Member Functions

bool init (const char **names, int count, dWmConnect_c *connect, bool cyclic, PATH_DIRECTION_e dir)
 
void SetStartPoint (int index)
 
int GetNextPointIdx ()
 
int GetPathPointNo (const char *name)
 
dWmPathPoint_sGetNextPointInfo (bool updateDirection)
 
void UpdatePoint ()
 
bool isPointIn (int pointIndex)
 

Public Attributes

dWmPathPoint_s mPoints [WM_ENEMY_PATH_MAX_POINT_COUNT]
 
dWmPathPoint_smpCurrentPoint
 
PATH_DIRECTION_e mDir1
 
PATH_DIRECTION_e mDir2
 
bool mAdvancePoint
 

Constructor & Destructor Documentation

◆ dWmEnPath_c()

dWmEnPath_c::dWmEnPath_c ( )

Definition at line 4 of file d_wm_en_path.cpp.

◆ ~dWmEnPath_c()

dWmEnPath_c::~dWmEnPath_c ( )
virtual

Definition at line 15 of file d_wm_en_path.cpp.

Member Function Documentation

◆ init()

bool dWmEnPath_c::init ( const char ** names,
int count,
dWmConnect_c * connect,
bool cyclic,
PATH_DIRECTION_e dir )

Definition at line 17 of file d_wm_en_path.cpp.

◆ SetStartPoint()

void dWmEnPath_c::SetStartPoint ( int index)

Definition at line 54 of file d_wm_en_path.cpp.

◆ GetNextPointIdx()

int dWmEnPath_c::GetNextPointIdx ( )

Definition at line 58 of file d_wm_en_path.cpp.

◆ GetPathPointNo()

int dWmEnPath_c::GetPathPointNo ( const char * name)

Definition at line 62 of file d_wm_en_path.cpp.

◆ GetNextPointInfo()

dWmPathPoint_s * dWmEnPath_c::GetNextPointInfo ( bool updateDirection)

Definition at line 74 of file d_wm_en_path.cpp.

◆ UpdatePoint()

void dWmEnPath_c::UpdatePoint ( )

Definition at line 99 of file d_wm_en_path.cpp.

◆ isPointIn()

bool dWmEnPath_c::isPointIn ( int pointIndex)

Definition at line 103 of file d_wm_en_path.cpp.

Member Data Documentation

◆ mPoints

Definition at line 30 of file d_wm_en_path.hpp.

◆ mpCurrentPoint

dWmPathPoint_s* dWmEnPath_c::mpCurrentPoint

Definition at line 31 of file d_wm_en_path.hpp.

◆ mDir1

PATH_DIRECTION_e dWmEnPath_c::mDir1

Definition at line 32 of file d_wm_en_path.hpp.

◆ mDir2

PATH_DIRECTION_e dWmEnPath_c::mDir2

Definition at line 33 of file d_wm_en_path.hpp.

◆ mAdvancePoint

bool dWmEnPath_c::mAdvancePoint

Definition at line 34 of file d_wm_en_path.hpp.