OpenGTA/localplayer.h

18 lines
395 B
C
Raw Normal View History

2015-12-03 00:37:02 +00:00
#ifndef OGTA_LOCAL_PLAYER_H
#define OGTA_LOCAL_PLAYER_H
#include "Singleton.h"
#include "pedestrian.h"
namespace OpenGTA {
class PlayerController : public Pedestrian::Controller {
public:
PlayerController() { turn = 0; move = 0; }
};
typedef Loki::SingletonHolder<PlayerController, Loki::CreateUsingNew,
Loki::DefaultLifetime, Loki::SingleThreaded> LocalPlayer;
}
#endif