1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-20 01:11:46 +02:00
openrw/rwgame/debugstate.hpp

27 lines
426 B
C++
Raw Normal View History

#ifndef DEBUGSTATE_HPP
#define DEBUGSTATE_HPP
#include "State.hpp"
class DebugState : public State
{
2014-06-08 23:18:03 +02:00
glm::vec3 _debugPos;
glm::vec3 _movement;
glm::vec2 _debugAngles;
bool _freeLook;
bool _sonicMode;
public:
DebugState();
virtual void enter();
virtual void exit();
virtual void tick(float dt);
virtual void handleEvent(const sf::Event& event);
2014-06-01 14:17:35 +02:00
void spawnVehicle(unsigned int id);
};
#endif // DEBUGSTATE_HPP