16 lines
259 B
C
16 lines
259 B
C
|
#pragma once
|
||
|
#include "Common.h"
|
||
|
#include "Python.h"
|
||
|
class GameEngine; // forward declare
|
||
|
|
||
|
class Timer
|
||
|
{
|
||
|
public:
|
||
|
PyObject* target;
|
||
|
int interval;
|
||
|
int last_ran;
|
||
|
Timer(); // for map to build
|
||
|
Timer(PyObject*, int, int);
|
||
|
bool test(int);
|
||
|
};
|