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

#include <EnemyEatData.h>

Inherits EatData.

Public Member Functions

 EnemyEatData (ActorUniqueID owner_id)
bool setEatTongue (Actor *yoshi) override
void setEatTongueOff (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 eatMove (Actor *yoshi)
virtual void vf2C ()
virtual void setEatMouth (Actor *yoshi)
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)

Protected Member Functions

EnemygetOwner_ () const

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

◆ EnemyEatData()

EnemyEatData::EnemyEatData ( ActorUniqueID owner_id)

Member Function Documentation

◆ setEatTongue()

bool EnemyEatData::setEatTongue ( Actor * yoshi)
overridevirtual

Reimplemented from EatData.

◆ setEatTongueOff()

void EnemyEatData::setEatTongueOff ( Actor * yoshi)
overridevirtual

Reimplemented from EatData.

◆ setEatSpitOut()

bool EnemyEatData::setEatSpitOut ( Actor * yoshi)
overridevirtual

Reimplemented from EatData.

◆ getOwner_()

Enemy * EnemyEatData::getOwner_ ( ) const
protected