Kinoko
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
5
namespace
Field
{
6
8
class
ObjectBeltEasy
final :
public
ObjectBelt
{
9
public
:
10
ObjectBeltEasy
(
const
System::MapdataGeoObj
¶ms);
11
~ObjectBeltEasy
()
override
;
12
13
private
:
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
Field::ObjectBeltEasy
The conveyers outside of the factory on Toad's Factory.
Definition
ObjectBeltEasy.hh:8
Field::ObjectBelt
The base class for a conveyer belt which induces road velocity.
Definition
ObjectBelt.hh:8
System::MapdataGeoObj
Definition
MapdataGeoObj.hh:9
uint32_t
Field
Pertains to collision.
Definition
BoxColManager.cc:8
EGG::Vector3f
A 3D float vector.
Definition
Vector.hh:87
game
field
obj
ObjectBeltEasy.hh
Made by
Malleo
. Logo by
vabold
. Website generated by
Doxygen
1.12.0