A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
ObjectProjectileLauncher.hh
1#pragma once
2
3#include "game/field/obj/ObjectCollidable.hh"
4
5namespace Field {
6
9public:
12 registerManagedObject();
13 }
14
16 ~ObjectProjectileLauncher() override = default;
17
18 // Not overridden in the base game, but has collision mode 0
19 void createCollision() override {}
20
22 virtual s16 launchPointIdx() = 0;
23};
24
25} // namespace Field
Abstract class that moves along its own rail and throws projectiles.
virtual s16 launchPointIdx()=0
Used by ObjectSniper to check which object (if any) should be thrown.
Pertains to collision.