A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
ObjectDossunTsuibi.hh
1#include "game/field/obj/ObjectDossun.hh"
2
3namespace Kinoko::Field {
4
6
8class ObjectDossunTsuibi final : public ObjectDossun {
9 friend ObjectDossunTsuibiHolder;
10
11public:
13 ObjectDossunTsuibi(const System::MapdataGeoObj &params, ObjectDossunTsuibiHolder *holder)
14 : ObjectDossun(params), m_holder(holder) {}
15
17 ~ObjectDossunTsuibi() override = default;
18
20 void calc() override {
21 m_touchingGround = false;
22 }
23
25 void startStill() override {
26 ObjectDossun::startStill();
27 m_holder->startStill();
28 }
29
30private:
31 ObjectDossunTsuibiHolder *m_holder;
32};
33
34} // namespace Kinoko::Field
The manager class for the pair of Thwomps in the long hallway on rBC.
Pertains to collision.