#include "character/states/common/DeadState.h"
#include "character/CharacterObject.h"

namespace frostbite2D {

DeadState::DeadState()
    : CharacterStateBase(CharacterStateId::Dead) {
}

void DeadState::OnUpdate(CharacterStateMachine& machine,
                         CharacterStateContext& context) {
  (void)machine;
  context.owner.GetMotorMutable().StopGroundMovement();
}

} // namespace frostbite2D
