Kinoko
A reimplementation of Mario Kart Wii's physics engine in C++
Toggle main menu visibility
Loading...
Searching...
No Matches
KartBurnout.hh
1
#pragma once
2
3
#include "game/kart/KartObjectProxy.hh"
4
5
namespace
Kinoko::Kart
{
6
10
class
KartBurnout : KartObjectProxy {
11
public
:
12
KartBurnout();
13
~KartBurnout();
14
15
void
start();
16
void
calc();
17
19
[[nodiscard]] f32 pitch()
const
;
21
22
private
:
23
void
calcRotation();
24
bool
calcEnd(u32 duration);
25
26
void
activate();
27
void
deactivate();
28
[[nodiscard]]
bool
isActive()
const
;
29
30
u32 m_timer;
31
u16 m_phase;
32
f32 m_amplitude;
33
f32 m_pitch;
34
};
35
36
}
// namespace Kinoko::Kart
Kinoko::Kart
Pertains to kart-related functionality.
Definition
BoxColManager.hh:14
game
kart
KartBurnout.hh
Made by
Malleo
. Logo by
vabold
. Website generated by
Doxygen
1.17.0