New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
ActorUtil.h
Go to the documentation of this file.
1#pragma once
2
3#include <actor/Profile.h>
4#include <utility/Direction.h>
5
6#include <math/seadVector.h>
7
8class ActorBase;
9class Actor;
10
12{
13protected:
14 // Address: 0x0200C67C
15 static s32 searchMain_(sead::Vector2f* player_pos, const sead::Vector2f& src_pos);
16
17public:
18 // Address: 0x0200C7E4
19 static DirType getTrgToSrcDir(const Actor& src, const Actor& trg);
20 // Address: 0x0200C800
21 static DirType getSrcToTrgDir(const Actor& src, const Actor& trg);
22
23 // Address: 0x0200C81C
24 static void createBlockOutIvy(const sead::Vector3f& pos);
25
26 // Address: 0x0200C8C0
27 static void calcDestPosSpeed(sead::Vector2f* speed, const sead::Vector2f& pos, s32 frame_cnt, Actor* actor);
28
29 // Address: Deleted
30 static void setAndCalcDestPosSpeed(const sead::Vector2f& pos, s32 frame_cnt, Actor* actor);
31
32 // Address: 0x0200C98C
33 static bool isGoalPoleProfileID(const ProfileID& id);
34
35 // Address: 0x0200C9E0
36 static bool isGoalPoleActor(const ActorBase& actor);
37
38 // Address: 0x0200CA0C
40};
Base interface class for all actors in the game. Lifecycle is handled by ActorMgr.
Definition ActorBase.h:19
Definition ActorUtil.h:12
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 isGoalPoleActor(const ActorBase &actor)
static bool isGoalPoleProfileID(const ProfileID &id)
static ActorBase * searchGoalPole()
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 s32 searchMain_(sead::Vector2f *player_pos, const sead::Vector2f &src_pos)
Definition Actor.h:24