3#include "game/field/obj/ObjectBase.hh"
5#include <egg/math/BoundBox.hh>
11 enum class FallState {
23 void load()
override {}
26 void createCollision()
override {}
29 void calcCollisionTransform()
override {}
32 void setFallState(FallState state) {
38 [[nodiscard]] FallState fallState()
const {
42 [[nodiscard]]
s32 fallFrame()
const {
49 FallState m_fallState;
s32 m_framesFallen
How long the block has been falling for, capped at 256.
const EGG::Vector3f m_initialPos
Position is computed relative to initialPos.
s32 m_fallFrame
Frame the block starts falling, or 0 if it never falls.
A representation of a bounding cuboid.