Misc - Test
This commit is contained in:
parent
8f83dcd413
commit
d5f285c089
|
@ -17,6 +17,9 @@
|
|||
#include "vld.h"
|
||||
#include "GameClientRecieverFunc.h"
|
||||
|
||||
#include "../Misc/EventHandler/EventHandler.h"
|
||||
using namespace Oyster::Event;
|
||||
|
||||
namespace DanBias
|
||||
{
|
||||
|
||||
|
@ -130,6 +133,8 @@ namespace DanBias
|
|||
|
||||
HRESULT DanBiasGame::Update(float deltaTime)
|
||||
{
|
||||
EventHandler::Instance();
|
||||
|
||||
if(m_data->recieverObj->IsConnected())
|
||||
m_data->recieverObj->Update();
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace Oyster
|
|||
EventHandler();
|
||||
~EventHandler();
|
||||
|
||||
EventHandler& Instance();
|
||||
static EventHandler& Instance();
|
||||
|
||||
void Update(InputClass* inputObject);
|
||||
|
||||
|
|
Loading…
Reference in New Issue