1#include "ObjectOilSFC.hh"
3#include "game/kart/KartCollide.hh"
4#include "game/kart/KartObject.hh"
5#include "game/kart/KartState.hh"
13ObjectOilSFC::~ObjectOilSFC() =
default;
15Kart::Reaction ObjectOilSFC::onCollision(
Kart::KartObject *kartObj, Kart::Reaction reactionOnKart,
17 hitDepth = EGG::Vector3f::zero;
19 return touchingGround ? reactionOnKart : Kart::Reaction::None;
constexpr bool onBit(Es... es) const
Checks if any of the corresponding bits for the provided enum values are on.
The highest level abstraction for a kart.
@ TouchingGround
Set when any part of the vehicle is colliding with floor KCL.