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