SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
NameObj
NameObjAdaptor.hpp
1
#pragma once
2
3
#include "Game/NameObj/NameObj.hpp"
4
#include "Game/Util.hpp"
5
7
class
NameObjAdaptor
:
public
NameObj
{
8
public
:
9
NameObjAdaptor
(
const
char
*);
10
11
virtual
~NameObjAdaptor
();
12
virtual
void
movement();
13
virtual
void
draw
()
const
;
14
virtual
void
calcAnim();
15
virtual
void
calcViewAndEntry();
16
17
void
connectToMovement(
const
MR::FunctorBase
&);
18
void
connectToCalcAnim(
const
MR::FunctorBase
&);
19
void
connectToDraw(
const
MR::FunctorBase
&);
20
21
MR::FunctorBase
* mMovementFunc;
// _C
22
MR::FunctorBase
* mCalcAnimFunc;
// _10
23
MR::FunctorBase
* mCalcViewFunc;
// _14
24
MR::FunctorBase
* mDrawAnimFunc;
// _18
25
};
MR::FunctorBase
Definition
Functor.hpp:8
NameObjAdaptor
Implementation of a NameObj that stores function pointers to movement, calcAnim, calcView,...
Definition
NameObjAdaptor.hpp:7
NameObjAdaptor::draw
virtual void draw() const
Draws the object. Does nothing until overridden.
Definition
NameObjAdaptor.cpp:35
NameObj
The most basic form of an object.
Definition
NameObj.hpp:11
Generated by
1.10.0