Create input service
This commit is contained in:
@@ -378,6 +378,9 @@
|
||||
<File
|
||||
RelativePath=".\src\include\DataModelV3\GroupInstance.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\include\DataModelV3\InputService.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\include\DataModelV3\Instance.h">
|
||||
</File>
|
||||
|
||||
11
src/include/DataModelV3/InputService.h
Normal file
11
src/include/DataModelV3/InputService.h
Normal file
@@ -0,0 +1,11 @@
|
||||
//Should potentially make a "Service" class
|
||||
#pragma once
|
||||
#include "Instance.h"
|
||||
|
||||
namespace B3D{
|
||||
class InputService : public Instance{
|
||||
InputService(void);
|
||||
InputService~(void);
|
||||
pollKeyState(int key);
|
||||
}
|
||||
}
|
||||
@@ -25,7 +25,6 @@ public:
|
||||
extern std::vector<Instance*> postRenderStack;
|
||||
extern bool running;
|
||||
extern DataModelInstance* g_dataModel;
|
||||
extern XplicitNgine* g_xplicitNgine;
|
||||
extern Application* g_usableApp;
|
||||
extern SkyRef g_sky;
|
||||
extern RenderDevice g_renderDevice;
|
||||
|
||||
@@ -5,7 +5,6 @@ bool Globals::useMousePoint = false;
|
||||
std::vector<Instance*> postRenderStack = std::vector<Instance*>();
|
||||
|
||||
DataModelInstance* g_dataModel = NULL;
|
||||
XplicitNgine* g_xplicitNgine = NULL;
|
||||
|
||||
bool running = false;
|
||||
POINT Globals::mousepoint;
|
||||
|
||||
Reference in New Issue
Block a user