2020-12-02 17:12:34 +00:00
|
|
|
#pragma once
|
|
|
|
class nudge
|
|
|
|
{
|
2020-12-27 15:19:36 +00:00
|
|
|
public:
|
|
|
|
static void un_nudge_right(int timerId, void* caller);
|
|
|
|
static void un_nudge_left(int timerId, void* caller);
|
|
|
|
static void un_nudge_up(int timerId, void* caller);
|
2020-12-02 17:12:34 +00:00
|
|
|
static void nudge_right();
|
|
|
|
static void nudge_left();
|
|
|
|
static void nudge_up();
|
2020-12-27 15:19:36 +00:00
|
|
|
|
|
|
|
static int nudged_left;
|
|
|
|
static int nudged_right;
|
|
|
|
static int nudged_up;
|
|
|
|
static float nudge_count;
|
|
|
|
private:
|
|
|
|
static void _nudge(float x, float y);
|
|
|
|
static int timer;
|
2020-12-02 17:12:34 +00:00
|
|
|
};
|