SpaceCadetPinball/SpaceCadetPinball/nudge.h

20 lines
451 B
C
Raw Permalink Normal View History

2020-12-02 18:12:34 +01: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 18:12:34 +01: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 18:12:34 +01:00
};