iw4x-client/src/Components/Modules/Slowmotion.hpp
2017-01-20 14:37:52 +01:00

25 lines
440 B
C++

#pragma once
#define BUTTON_FLAG_LEANLEFT 0x40
#define BUTTON_FLAG_LEANRIGHT 0x80
namespace Components
{
class SlowMotion : public Component
{
public:
SlowMotion();
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
const char* getName() override { return "SlowMotion"; };
#endif
private:
static int Delay;
static void SetSlowMotion();
static void ApplySlowMotion(int timePassed);
static void ApplySlowMotionStub();
};
}