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

#include <PlayerEatData.h>

Inherits EatData.

Public Member Functions

 PlayerEatData (ActorUniqueID 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 EatData
 EatData (ActorUniqueID owner_id)
virtual void setAfterEatScale ()
virtual void calcSpitOutPos (Actor *yoshi)
virtual f32 calcEatScaleRate (Actor *yoshi)
virtual void vf2C ()
virtual bool setEatGlupDown (Actor *yoshi)
virtual void calcEatInScale (Actor *yoshi)
const ActorUniqueIDgetYoshiID () const
u32 getState () const
void setState (u32 state)
EatType getEatType () const
void setEatType (EatType eat_type)
sead::Vector3fgetScale ()
const sead::Vector3fgetScale () const
ScoreType getScoreType () const
void setScoreType (ScoreType score_type)

Additional Inherited Members

Public Types inherited from EatData
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 EatData
ActorUniqueID mOwnerID
ActorUniqueID mYoshiID
u32 mState
EatType mEatType
sead::Vector3f mScale
ScoreType mScoreType

Constructor & Destructor Documentation

◆ PlayerEatData()

PlayerEatData::PlayerEatData ( ActorUniqueID owner_id)

Member Function Documentation

◆ eatMove()

void PlayerEatData::eatMove ( Actor * yoshi)
overridevirtual

Reimplemented from EatData.

◆ setEatTongue()

bool PlayerEatData::setEatTongue ( Actor * yoshi)
overridevirtual

Reimplemented from EatData.

◆ setEatTongueOff()

void PlayerEatData::setEatTongueOff ( Actor * yoshi)
overridevirtual

Reimplemented from EatData.

◆ setEatMouth()

void PlayerEatData::setEatMouth ( Actor * yoshi)
overridevirtual

Reimplemented from EatData.

◆ setEatSpitOut()

bool PlayerEatData::setEatSpitOut ( Actor * yoshi)
overridevirtual

Reimplemented from EatData.