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

#include <PlayerEatData.h>

Inherits EatCallback.

Public Member Functions

 PlayerEatData (UniqueID owner_id)
void eatMove (Actor *yoshi) override
bool setEatTongue (Actor *yoshi) override
void setEatTongueOff (Actor *yoshi) override
void setEatMouth (Actor *yoshi) override
bool setEatSpitOut (Actor *yoshi) override
Public Member Functions inherited from EatCallback
 EatCallback (UniqueID owner_id)
Actor * getParentActorConstPtr_ () const
Actor * getParentActorPtr_ ()
virtual void setAfterEatScale ()
virtual void calcSpitOutPos (Actor *yoshi)
virtual f32 calcEatScaleRate (Actor *yoshi)
virtual void replaceEatActor (Actor *yoshi)
virtual bool setEatGlupDown (Actor *yoshi)
virtual void calcEatInScale (Actor *yoshi)
const UniqueID & getYoshiID () const
State getState () const
void setState (State state)
EatType getEatType () const
void setEatType (EatType eat_type)
sead::Vector3f & getScale ()
const sead::Vector3f & getScale () const
ScoreType getScoreType () const
void setScoreType (ScoreType score_type)

Additional Inherited Members

Public Types inherited from EatCallback
enum  State {
  cState_None = 0 , cState_EatTongue , cState_EatMouth , cState_DamageSpitOut ,
  cState_SpitOut
}
enum  EatType {
  cEatType_None = 0 , cEatType_Eat , cEatType_EatPermanent , cEatType_Drink ,
  cEatType_DrinkBig , cEatType_YoshiFire , cEatType_YoshiFire_Ice
}
enum  ScoreType { cScoreType_Point_200 = 0 , cScoreType_Point_1000 , cScoreType_None }
Protected Attributes inherited from EatCallback
UniqueID mOwnerID
UniqueID mYoshiID
State mState
EatType mEatType
sead::Vector3f mScale
ScoreType mScoreType

Constructor & Destructor Documentation

◆ PlayerEatData()

PlayerEatData::PlayerEatData ( UniqueID owner_id)

Member Function Documentation

◆ eatMove()

void PlayerEatData::eatMove ( Actor * yoshi)
overridevirtual

Reimplemented from EatCallback.

◆ setEatTongue()

bool PlayerEatData::setEatTongue ( Actor * yoshi)
overridevirtual

Reimplemented from EatCallback.

◆ setEatTongueOff()

void PlayerEatData::setEatTongueOff ( Actor * yoshi)
overridevirtual

Reimplemented from EatCallback.

◆ setEatMouth()

void PlayerEatData::setEatMouth ( Actor * yoshi)
overridevirtual

Reimplemented from EatCallback.

◆ setEatSpitOut()

bool PlayerEatData::setEatSpitOut ( Actor * yoshi)
overridevirtual

Reimplemented from EatCallback.