3#include <actor/ActorUniqueID.h>
5#include <math/seadVector.h>
21 static_assert(
sizeof(
State) == 4);
33 static_assert(
sizeof(
EatType) == 4);
122static_assert(
sizeof(
EatData) == 0x24);
EatType
Definition EatData.h:24
@ cEatType_DrinkBig
Swallow the food, plays a longer animation.
Definition EatData.h:29
@ cEatType_None
Tongue hits actor with no result.
Definition EatData.h:25
@ cEatType_YoshiFire_Ice
Hold the food in Yoshi's mouth, turns into ice when spat.
Definition EatData.h:31
@ cEatType_EatPermanent
Hold the food in Yoshi's mouth, but can't spit it out.
Definition EatData.h:27
@ cEatType_YoshiFire
Hold the food in Yoshi's mouth, turns into fire when spat.
Definition EatData.h:30
@ cEatType_Eat
Hold the food in Yoshi's mouth.
Definition EatData.h:26
@ cEatType_Drink
Swallow the food.
Definition EatData.h:28
void setEatType(EatType eat_type)
Definition EatData.h:89
virtual bool setEatSpitOut(Actor *yoshi)
ScoreType getScoreType() const
Definition EatData.h:104
State
Definition EatData.h:14
@ cState_None
Definition EatData.h:15
@ cState_SpitOut
Definition EatData.h:19
@ cState_EatTongue
Definition EatData.h:16
@ cState_DamageSpitOut
Definition EatData.h:18
@ cState_EatMouth
Definition EatData.h:17
EatData(ActorUniqueID owner_id)
virtual void eatMove(Actor *yoshi)
ScoreType mScoreType
Definition EatData.h:120
virtual void calcSpitOutPos(Actor *yoshi)
virtual bool setEatGlupDown(Actor *yoshi)
ActorUniqueID mYoshiID
Definition EatData.h:116
virtual void setAfterEatScale()
const ActorUniqueID & getYoshiID() const
Definition EatData.h:69
sead::Vector3f mScale
Definition EatData.h:119
ActorUniqueID mOwnerID
Definition EatData.h:115
ScoreType
Definition EatData.h:36
@ cScoreType_Point_200
Definition EatData.h:37
@ cScoreType_Point_1000
Definition EatData.h:38
@ cScoreType_None
Definition EatData.h:39
EatType getEatType() const
Definition EatData.h:84
EatType mEatType
Definition EatData.h:118
virtual void calcEatInScale(Actor *yoshi)
virtual f32 calcEatScaleRate(Actor *yoshi)
State mState
Definition EatData.h:117
void setState(State state)
Definition EatData.h:79
sead::Vector3f & getScale()
Definition EatData.h:94
const sead::Vector3f & getScale() const
Definition EatData.h:99
void setScoreType(ScoreType score_type)
Definition EatData.h:109
virtual void setEatMouth(Actor *yoshi)
State getState() const
Definition EatData.h:74
virtual bool setEatTongue(Actor *yoshi)
virtual void setEatTongueOff(Actor *yoshi)