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

#include <ActorUtil.h>

Static Public Member Functions

static DirType getTrgToSrcDir (const Actor &src, const Actor &trg)
static DirType getSrcToTrgDir (const Actor &src, const Actor &trg)
static void createBlockOutIvy (const sead::Vector3f &pos)
static void calcDestPosSpeed (sead::Vector2f *speed, const sead::Vector2f &pos, s32 frame_cnt, Actor *actor)
static void setAndCalcDestPosSpeed (const sead::Vector2f &pos, s32 frame_cnt, Actor *actor)
static bool isGoalPoleProfileID (const ProfileID &id)
static bool isGoalPoleActor (const ActorBase &actor)
static ActorBase * searchGoalPole ()

Static Protected Member Functions

static s32 searchMain_ (sead::Vector2f *player_pos, const sead::Vector2f &src_pos)

Member Function Documentation

◆ searchMain_()

s32 ActorUtil::searchMain_ ( sead::Vector2f * player_pos,
const sead::Vector2f & src_pos )
staticprotected

◆ getTrgToSrcDir()

DirType ActorUtil::getTrgToSrcDir ( const Actor & src,
const Actor & trg )
static

◆ getSrcToTrgDir()

DirType ActorUtil::getSrcToTrgDir ( const Actor & src,
const Actor & trg )
static

◆ createBlockOutIvy()

void ActorUtil::createBlockOutIvy ( const sead::Vector3f & pos)
static

◆ calcDestPosSpeed()

void ActorUtil::calcDestPosSpeed ( sead::Vector2f * speed,
const sead::Vector2f & pos,
s32 frame_cnt,
Actor * actor )
static

◆ setAndCalcDestPosSpeed()

void ActorUtil::setAndCalcDestPosSpeed ( const sead::Vector2f & pos,
s32 frame_cnt,
Actor * actor )
static

◆ isGoalPoleProfileID()

bool ActorUtil::isGoalPoleProfileID ( const ProfileID & id)
static

◆ isGoalPoleActor()

bool ActorUtil::isGoalPoleActor ( const ActorBase & actor)
static

◆ searchGoalPole()

ActorBase * ActorUtil::searchGoalPole ( )
static