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
5namespace Kinoko::Field {
6
8class ObjectDossunYokoMove final : public ObjectDossun {
9public:
11 ObjectDossunYokoMove(const System::MapdataGeoObj &params) : 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 setPos(m_railInterpolator->curPos());
25 }
26};
27
28} // namespace Kinoko::Field
Pertains to collision.