17 [[nodiscard]] u32 loadFlags()
const override {
21 void createCollision()
override;
22 void calcCollisionTransform()
override;
24 Kart::Reaction onCollision(
Kart::KartObject *kartObj, Kart::Reaction reactionOnKart,
25 Kart::Reaction reactionOnObj,
EGG::Vector3f &hitDepth)
override;
29 enum class MotionState {
52 MotionState m_motionState;
55 static constexpr std::array<StateManagerEntry, 3> STATE_ENTRIES = {{
56 {StateEntry<ObjectCarA, &ObjectCarA::enterStop, &ObjectCarA::calcStop>(0)},
57 {StateEntry<ObjectCarA, &ObjectCarA::enterAccel, &ObjectCarA::calcAccel>(1)},
58 {StateEntry<ObjectCarA, &ObjectCarA::enterCruising, &ObjectCarA::calcCruising>(2)},