Kinoko
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
5
namespace
Field
{
6
8
class
ObjectProjectileLauncher
:
public
ObjectCollidable
{
9
public
:
11
ObjectProjectileLauncher
(
const
System::MapdataGeoObj
¶ms) :
ObjectCollidable
(params) {
12
registerManagedObject();
13
}
14
16
~ObjectProjectileLauncher
()
override
=
default
;
17
19
virtual
s16
launchPointIdx
() = 0;
20
};
21
22
}
// namespace Field
Field::ObjectCollidable
Definition
ObjectCollidable.hh:16
Field::ObjectProjectileLauncher
Abstract class that moves along its own rail and throws projectiles.
Definition
ObjectProjectileLauncher.hh:8
Field::ObjectProjectileLauncher::launchPointIdx
virtual s16 launchPointIdx()=0
Used by ObjectSniper to check which object (if any) should be thrown.
System::MapdataGeoObj
Definition
MapdataGeoObj.hh:9
Field
Pertains to collision.
Definition
BoxColManager.cc:8
game
field
obj
ObjectProjectileLauncher.hh
Made by
Malleo
. Logo by
vabold
. Website generated by
Doxygen
1.12.0