diff options
Diffstat (limited to 'engine-ocean/Engine/core.cpp')
-rw-r--r-- | engine-ocean/Engine/core.cpp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/engine-ocean/Engine/core.cpp b/engine-ocean/Engine/core.cpp new file mode 100644 index 0000000..a0f8557 --- /dev/null +++ b/engine-ocean/Engine/core.cpp @@ -0,0 +1,46 @@ +#include "core.h" + +Core::Core() +{ +} + +Core::~Core(){ + +} + +void Core::update(double deltaTime){ + m_app.update(deltaTime); + +} + +void Core::draw(){ + m_app.draw(); +} + +void Core::keyEvent(int key, int action){ + m_app.keyEvent(key, action); +} + +void Core::mousePosEvent(double xpos, double ypos){ + + m_app.mousePosEvent(xpos,ypos); + +} + +void Core::mouseButtonEvent(int button, int action){ + m_app.mouseButtonEvent(button, action); + +} + +void Core::scrollEvent(double distance){ + m_app.scrollEvent(distance); + +} + +void Core::framebufferResizeEvent(int width, int height){ + m_app.framebufferResizeEvent(width, height); +} + +void Core::windowResizeEvent(int width, int height){ + m_app.windowResizeEvent(width, height); +} |