SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
StageSwitchCtrl Class Reference

Public Member Functions

 StageSwitchCtrl (const JMapInfoIter &)
 
void onSwitchA ()
 
void offSwitchA ()
 
bool isOnSwitchA () const
 
bool isValidSwitchA () const
 
void onSwitchB ()
 
void offSwitchB ()
 
bool isOnSwitchB () const
 
bool isValidSwitchB () const
 
bool isOnSwitchAppear () const
 
bool isValidSwitchAppear () const
 
void onSwitchDead ()
 
void offSwitchDead ()
 
bool isValidSwitchDead () const
 
bool isOnAllSwitchAfterB (int) const
 
bool isOnAnyOneSwitchAfterB (int) const
 

Public Attributes

SwitchIdInfomSW_A
 
SwitchIdInfomSW_B
 
SwitchIdInfomSW_Appear
 
SwitchIdInfomSW_Dead
 

Detailed Description

Definition at line 66 of file StageSwitch.hpp.

Constructor & Destructor Documentation

◆ StageSwitchCtrl()

StageSwitchCtrl::StageSwitchCtrl ( const JMapInfoIter & rIter)

Definition at line 220 of file StageSwitch.cpp.

Member Function Documentation

◆ onSwitchA()

void StageSwitchCtrl::onSwitchA ( )

Definition at line 78 of file StageSwitch.cpp.

◆ offSwitchA()

void StageSwitchCtrl::offSwitchA ( )

Definition at line 82 of file StageSwitch.cpp.

◆ isOnSwitchA()

bool StageSwitchCtrl::isOnSwitchA ( ) const

Definition at line 86 of file StageSwitch.cpp.

◆ isValidSwitchA()

bool StageSwitchCtrl::isValidSwitchA ( ) const

Definition at line 90 of file StageSwitch.cpp.

◆ onSwitchB()

void StageSwitchCtrl::onSwitchB ( )

Definition at line 94 of file StageSwitch.cpp.

◆ offSwitchB()

void StageSwitchCtrl::offSwitchB ( )

Definition at line 98 of file StageSwitch.cpp.

◆ isOnSwitchB()

bool StageSwitchCtrl::isOnSwitchB ( ) const

Definition at line 102 of file StageSwitch.cpp.

◆ isValidSwitchB()

bool StageSwitchCtrl::isValidSwitchB ( ) const

Definition at line 106 of file StageSwitch.cpp.

◆ isOnSwitchAppear()

bool StageSwitchCtrl::isOnSwitchAppear ( ) const

Definition at line 110 of file StageSwitch.cpp.

◆ isValidSwitchAppear()

bool StageSwitchCtrl::isValidSwitchAppear ( ) const

Definition at line 114 of file StageSwitch.cpp.

◆ onSwitchDead()

void StageSwitchCtrl::onSwitchDead ( )

Definition at line 118 of file StageSwitch.cpp.

◆ offSwitchDead()

void StageSwitchCtrl::offSwitchDead ( )

Definition at line 122 of file StageSwitch.cpp.

◆ isValidSwitchDead()

bool StageSwitchCtrl::isValidSwitchDead ( ) const

Definition at line 126 of file StageSwitch.cpp.

Member Data Documentation

◆ mSW_A

SwitchIdInfo* StageSwitchCtrl::mSW_A

Definition at line 86 of file StageSwitch.hpp.

◆ mSW_B

SwitchIdInfo* StageSwitchCtrl::mSW_B

Definition at line 87 of file StageSwitch.hpp.

◆ mSW_Appear

SwitchIdInfo* StageSwitchCtrl::mSW_Appear

Definition at line 88 of file StageSwitch.hpp.

◆ mSW_Dead

SwitchIdInfo* StageSwitchCtrl::mSW_Dead

Definition at line 89 of file StageSwitch.hpp.