SpaceCadetPinball/SpaceCadetPinball/nudge.h

20 lines
451 B
C
Raw Normal View History

2020-12-02 17:12:34 +00:00
#pragma once
class nudge
{
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();
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
};