Kinoko
A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
ObjectDokan.hh
1
#pragma once
2
3
#include "game/field/obj/ObjectCollidable.hh"
4
5
namespace
Field
{
6
7
class
ObjectDokan
final :
public
ObjectCollidable
{
8
public
:
9
ObjectDokan
(
const
System::MapdataGeoObj
¶ms);
10
~ObjectDokan
()
override
;
11
12
void
init()
override
;
13
void
calc()
override
;
14
16
[[nodiscard]] u32 loadFlags()
const override
{
17
return
1;
18
}
19
20
void
calcCollisionTransform()
override
;
21
22
Kart::Reaction onCollision(
Kart::KartObject
*kartObj, Kart::Reaction reactionOnKart,
23
Kart::Reaction reactionOnObj,
EGG::Vector3f
&hitDepth)
override
;
24
25
private
:
26
void
calcFloor();
27
28
bool
m_b0;
29
EGG::Vector3f
m_velocity;
30
};
31
32
}
// namespace Field
Field::ObjectCollidable
Definition
ObjectCollidable.hh:16
Field::ObjectDokan
Definition
ObjectDokan.hh:7
Kart::KartObject
The highest level abstraction for a kart.
Definition
KartObject.hh:11
System::MapdataGeoObj
Definition
MapdataGeoObj.hh:9
Field
Pertains to collision.
Definition
BoxColManager.cc:8
EGG::Vector3f
A 3D float vector.
Definition
Vector.hh:83
game
field
obj
ObjectDokan.hh
Made by
Malleo
. Logo by
vabold
. Website generated by
Doxygen
1.12.0