3#include <actor/ActorUniqueID.h>
5#include <math/seadVector.h>
22 static_assert(
sizeof(
EatType) == 4);
111static_assert(
sizeof(
EatData) == 0x24);
EatType
Definition EatData.h:13
@ cEatType_DrinkBig
Swallow the food, plays a longer animation.
Definition EatData.h:18
@ cEatType_None
Tongue hits actor with no result.
Definition EatData.h:14
@ cEatType_YoshiFire_Ice
Hold the food in Yoshi's mouth, turns into ice when spat.
Definition EatData.h:20
@ cEatType_EatPermanent
Hold the food in Yoshi's mouth, but can't spit it out.
Definition EatData.h:16
@ cEatType_YoshiFire
Hold the food in Yoshi's mouth, turns into fire when spat.
Definition EatData.h:19
@ cEatType_Eat
Hold the food in Yoshi's mouth.
Definition EatData.h:15
@ cEatType_Drink
Swallow the food.
Definition EatData.h:17
void setEatType(EatType eat_type)
Definition EatData.h:78
virtual bool setEatSpitOut(Actor *yoshi)
u32 mState
Definition EatData.h:106
ScoreType getScoreType() const
Definition EatData.h:93
EatData(ActorUniqueID owner_id)
virtual void eatMove(Actor *yoshi)
u32 getState() const
Definition EatData.h:63
ScoreType mScoreType
Definition EatData.h:109
virtual void calcSpitOutPos(Actor *yoshi)
virtual bool setEatGlupDown(Actor *yoshi)
ActorUniqueID mYoshiID
Definition EatData.h:105
virtual void setAfterEatScale()
const ActorUniqueID & getYoshiID() const
Definition EatData.h:58
sead::Vector3f mScale
Definition EatData.h:108
ActorUniqueID mOwnerID
Definition EatData.h:104
ScoreType
Definition EatData.h:25
@ cScoreType_Point_200
Definition EatData.h:26
@ cScoreType_Point_1000
Definition EatData.h:27
@ cScoreType_None
Definition EatData.h:28
EatType getEatType() const
Definition EatData.h:73
EatType mEatType
Definition EatData.h:107
virtual void calcEatInScale(Actor *yoshi)
virtual f32 calcEatScaleRate(Actor *yoshi)
void setState(u32 state)
Definition EatData.h:68
sead::Vector3f & getScale()
Definition EatData.h:83
const sead::Vector3f & getScale() const
Definition EatData.h:88
void setScoreType(ScoreType score_type)
Definition EatData.h:98
virtual void setEatMouth(Actor *yoshi)
virtual bool setEatTongue(Actor *yoshi)
virtual void setEatTongueOff(Actor *yoshi)