mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 21:35:12 +00:00
19 lines
346 B
C++
19 lines
346 B
C++
//
|
|
// Created by Zoe Roux on 5/27/21.
|
|
//
|
|
|
|
#include "Render2DScreenSystem.hpp"
|
|
|
|
namespace BBM
|
|
{
|
|
Render2DScreenSystem::Render2DScreenSystem(RAY::Window &window)
|
|
: WAL::System({}),
|
|
_window(window),
|
|
_camera(RAY::Vector2(), RAY::Vector2(), 0)
|
|
{}
|
|
|
|
void Render2DScreenSystem::onSelfUpdate()
|
|
{
|
|
this->_window.useCamera(this->_camera);
|
|
}
|
|
} |