30 [[nodiscard]] u32 loadFlags()
const override {
35 [[nodiscard]]
const char *getResources()
const override {
40 [[nodiscard]]
const char *getKclName()
const override {
44 void createCollision()
override;
45 void calcCollisionTransform()
override;
46 [[nodiscard]] f32 getCollisionRadius()
const override;
47 Kart::Reaction onCollision(
Kart::KartObject *kartObj, Kart::Reaction reactionOnKart,
48 Kart::Reaction reactionOnObj,
EGG::Vector3f &hitDepth)
override;
49 bool checkCollision(ObjectCollisionBase *lhs,
EGG::Vector3f &dist)
override;
50 [[nodiscard]]
const EGG::Vector3f &collisionCenter()
const override;
52 void setHighwayManager(
const ObjectHighwayManager *highwayMgr) {
53 m_highwayMgr = highwayMgr;
61 [[nodiscard]]
bool squashed()
const {
66 static constexpr f32 TOLL_BOOTH_ACCEL = 200.0f;
68 void enterStateStub();
75 const ObjectHighwayManager *m_highwayMgr;
76 ObjectCollisionBase *m_auxCollision;
88 bool m_hasAuxCollision;
91 static constexpr std::array<StateManagerEntry<ObjectCarTGE>, 3> STATE_ENTRIES = {{
92 {0, &ObjectCarTGE::enterStateStub, &ObjectCarTGE::calcStateStub},