Ver código fonte

Delete EventLoop

Daniele Bartolini 13 anos atrás
pai
commit
a1b5b020e8
2 arquivos alterados com 0 adições e 45 exclusões
  1. 0 28
      src/EventLoop.cpp
  2. 0 17
      src/EventLoop.h

+ 0 - 28
src/EventLoop.cpp

@@ -1,28 +0,0 @@
-#include "EventLoop.h"
-#include "OS.h"
-
-namespace crown
-{
-
-void EventLoop::consume_events()
-{
-	while (1)
-	{
-		os::OSEvent event;
-
-		event = os::pop_event();
-
-		if (event.type == os::OSET_NONE)
-		{
-			break;
-		}
-
-		if (event.type == os::OSET_KEYBOARD)
-		{
-
-		}
-	}
-}
-
-} // namespace crown
-

+ 0 - 17
src/EventLoop.h

@@ -1,17 +0,0 @@
-#pragma once
-
-namespace crown
-{
-
-/**
-	Manages OS events. (Keyboard, mouse ecc.)
-*/
-class EventLoop
-{
-public:
-
-	void	consume_events();
-};
-
-} // namespace crown
-