A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
ObjectVolcanoBallLauncher.hh
1#pragma once
2
3#include "game/field/obj/ObjectCollidable.hh"
4
5namespace Kinoko::Field {
6
7class ObjectVolcanoBall;
8
11public:
14
15 void init() override;
16 void calc() override;
17
19 [[nodiscard]] u32 loadFlags() const override {
20 return 1;
21 };
22
24 void loadGraphics() override {}
25
27 void createCollision() override {}
28
30 void loadRail() override {}
31
32private:
34 const f32 m_initDelay;
35 const f32 m_cycleDuration;
36 u32 m_currBallIdx;
37 bool m_active;
38};
39
40} // namespace Kinoko::Field
The manager class that launch fireballs on Grumble Volcano.
bool m_active
False when the volcano is dormant, true after m_initDelay.
A contiguous storage container that manages the lifecycle of a buffer of a given size.
Definition Types.hh:29
Pertains to collision.