A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
ObjectBeltEasy.hh
1#pragma once
2
3#include "game/field/obj/ObjectBelt.hh"
4
5namespace Field {
6
8class ObjectBeltEasy final : public ObjectBelt {
9public:
11 ~ObjectBeltEasy() override;
12
13private:
14 [[nodiscard]] EGG::Vector3f calcRoadVelocity(u32 variant, const EGG::Vector3f &pos,
15 u32 timeOffset) const override;
16
18 [[nodiscard]] bool isMoving(u32 variant, const EGG::Vector3f & /*pos*/) const override {
19 return variant == 2 || variant == 3;
20 }
21};
22
23} // namespace Field
The conveyers outside of the factory on Toad's Factory.
The base class for a conveyer belt which induces road velocity.
Definition ObjectBelt.hh:8
Pertains to collision.
A 3D float vector.
Definition Vector.hh:87