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;
18 return kartObj->state()->isTouchingGround() ? reactionOnKart : Kart::Reaction::None;
The highest level abstraction for a kart.