New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
Combo Class Reference

#include <Combo.h>

Public Types

enum  Type { cType_Null = 0 , cType_1 = 1 , cType_2 = 2 }

Public Member Functions

 Combo ()
bool getType () const
bool isComboType2 () const
ScoreMgr::ScoreType getComboScore (s32 combo_cnt)
void setScore (Actor *actor, ScoreMgr::ScoreType score_type, s32 player_no)
ScoreMgr::ScoreType getDamageScore ()
ScoreMgr::ScoreType getQuakeScore (s32 quake_cnt)
s32 calcPlFumiCnt (Actor *player)

Static Public Member Functions

static s32 calcPlStarCnt (Actor *player)
static s32 calcPlComboCnt (Actor *player)

Protected Attributes

Type mType

Member Enumeration Documentation

◆ Type

Enumerator
cType_Null 
cType_1 
cType_2 

Constructor & Destructor Documentation

◆ Combo()

Combo::Combo ( )

Member Function Documentation

◆ getType()

bool Combo::getType ( ) const
inline

◆ isComboType2()

bool Combo::isComboType2 ( ) const
inline

◆ getComboScore()

ScoreMgr::ScoreType Combo::getComboScore ( s32 combo_cnt)

◆ setScore()

void Combo::setScore ( Actor * actor,
ScoreMgr::ScoreType score_type,
s32 player_no )

◆ getDamageScore()

ScoreMgr::ScoreType Combo::getDamageScore ( )

◆ getQuakeScore()

ScoreMgr::ScoreType Combo::getQuakeScore ( s32 quake_cnt)

◆ calcPlFumiCnt()

s32 Combo::calcPlFumiCnt ( Actor * player)

◆ calcPlStarCnt()

s32 Combo::calcPlStarCnt ( Actor * player)
static

◆ calcPlComboCnt()

s32 Combo::calcPlComboCnt ( Actor * player)
static

Member Data Documentation

◆ mType

Type Combo::mType
protected