#include <EatCallback.h>
Inherited by EnemyEatData, and PlayerEatData.
|
| enum | State {
cState_None = 0
, cState_EatTongue
, cState_EatMouth
, cState_DamageSpitOut
,
cState_SpitOut
} |
| 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
} |
◆ State
| Enumerator |
|---|
| cState_None | |
| cState_EatTongue | |
| cState_EatMouth | |
| cState_DamageSpitOut | |
| cState_SpitOut | |
◆ EatType
| Enumerator |
|---|
| cEatType_None | Tongue hits actor with no result.
|
| cEatType_Eat | Hold the food in Yoshi's mouth.
|
| cEatType_EatPermanent | Hold the food in Yoshi's mouth, but can't spit it out.
|
| cEatType_Drink | Swallow the food.
|
| cEatType_DrinkBig | Swallow the food, plays a longer animation.
|
| cEatType_YoshiFire | Hold the food in Yoshi's mouth, turns into fire when spat.
|
| cEatType_YoshiFire_Ice | Hold the food in Yoshi's mouth, turns into ice when spat.
|
◆ ScoreType
| Enumerator |
|---|
| cScoreType_Point_200 | |
| cScoreType_Point_1000 | |
| cScoreType_None | |
◆ EatCallback()
| EatCallback::EatCallback |
( |
UniqueID | owner_id | ) |
|
◆ getParentActorConstPtr_()
| Actor * EatCallback::getParentActorConstPtr_ |
( |
| ) |
const |
◆ getParentActorPtr_()
| Actor * EatCallback::getParentActorPtr_ |
( |
| ) |
|
◆ setAfterEatScale()
| virtual void EatCallback::setAfterEatScale |
( |
| ) |
|
|
virtual |
◆ calcSpitOutPos()
| virtual void EatCallback::calcSpitOutPos |
( |
Actor * | yoshi | ) |
|
|
virtual |
◆ calcEatScaleRate()
| virtual f32 EatCallback::calcEatScaleRate |
( |
Actor * | yoshi | ) |
|
|
virtual |
◆ eatMove()
| virtual void EatCallback::eatMove |
( |
Actor * | yoshi | ) |
|
|
virtual |
◆ replaceEatActor()
| virtual void EatCallback::replaceEatActor |
( |
Actor * | yoshi | ) |
|
|
virtual |
◆ setEatTongue()
| virtual bool EatCallback::setEatTongue |
( |
Actor * | yoshi | ) |
|
|
virtual |
◆ setEatTongueOff()
| virtual void EatCallback::setEatTongueOff |
( |
Actor * | yoshi | ) |
|
|
virtual |
◆ setEatMouth()
| virtual void EatCallback::setEatMouth |
( |
Actor * | yoshi | ) |
|
|
virtual |
◆ setEatSpitOut()
| virtual bool EatCallback::setEatSpitOut |
( |
Actor * | yoshi | ) |
|
|
virtual |
◆ setEatGlupDown()
| virtual bool EatCallback::setEatGlupDown |
( |
Actor * | yoshi | ) |
|
|
virtual |
◆ calcEatInScale()
| virtual void EatCallback::calcEatInScale |
( |
Actor * | yoshi | ) |
|
|
virtual |
◆ getYoshiID()
| const UniqueID & EatCallback::getYoshiID |
( |
| ) |
const |
|
inline |
◆ getState()
| State EatCallback::getState |
( |
| ) |
const |
|
inline |
◆ setState()
| void EatCallback::setState |
( |
State | state | ) |
|
|
inline |
◆ getEatType()
| EatType EatCallback::getEatType |
( |
| ) |
const |
|
inline |
◆ setEatType()
| void EatCallback::setEatType |
( |
EatType | eat_type | ) |
|
|
inline |
◆ getScale() [1/2]
◆ getScale() [2/2]
◆ getScoreType()
| ScoreType EatCallback::getScoreType |
( |
| ) |
const |
|
inline |
◆ setScoreType()
| void EatCallback::setScoreType |
( |
ScoreType | score_type | ) |
|
|
inline |
◆ mOwnerID
◆ mYoshiID
◆ mState
| State EatCallback::mState |
|
protected |
◆ mEatType
◆ mScale
◆ mScoreType