1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-12 22:02:49 +01:00
openrw/rwgame/ingamestate.hpp
2014-07-23 23:57:21 +01:00

32 lines
522 B
C++

#ifndef INGAMESTATE_HPP
#define INGAMESTATE_HPP
#include "State.hpp"
#include <ai/PlayerController.hpp>
class IngameState : public State
{
PlayerController* _player;
CharacterObject* _playerCharacter;
glm::vec2 _lookAngles;
glm::vec3 _movement;
public:
IngameState(bool test = false);
void startTest();
void spawnPlayerVehicle();
void updateView();
virtual void enter();
virtual void exit();
virtual void tick(float dt);
virtual void handleEvent(const sf::Event& event);
};
#endif // INGAMESTATE_HPP