Kinoko
A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
ObjectDossunYokoMove.hh
1
#pragma once
2
3
#include "game/field/obj/ObjectDossun.hh"
4
5
namespace
Field
{
6
8
class
ObjectDossunYokoMove
final :
public
ObjectDossun
{
9
public
:
11
ObjectDossunYokoMove
(
const
System::MapdataGeoObj
¶ms) :
ObjectDossun
(params) {}
12
14
~ObjectDossunYokoMove
()
override
=
default
;
15
17
void
init()
override
{
18
m_railInterpolator->init(0.0f, 0);
19
}
20
22
void
calc()
override
{
23
m_railInterpolator->calc();
24
m_flags.
setBit
(eFlags::Position);
25
m_pos = m_railInterpolator->curPos();
26
}
27
};
28
29
}
// namespace Field
Field::ObjectDossunYokoMove
Represents Thwomps that move sideways on the ground on rBC.
Definition
ObjectDossunYokoMove.hh:8
Field::ObjectDossun
Base class for the various different Thwomp types in the game.
Definition
ObjectDossun.hh:11
System::MapdataGeoObj
Definition
MapdataGeoObj.hh:9
Field
Pertains to collision.
Definition
BoxColManager.cc:8
EGG::TBitFlag::setBit
constexpr TBitFlag< T, E > & setBit(Es... es)
Sets the corresponding bits for the provided enum values.
Definition
BitFlag.hh:62
game
field
obj
ObjectDossunYokoMove.hh
Made by
Malleo
. Logo by
vabold
. Website generated by
Doxygen
1.12.0