mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 13:25:10 +00:00
19 lines
352 B
C++
19 lines
352 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(10, 10), RAY::Vector2(), 0)
|
|
{}
|
|
|
|
void Render2DScreenSystem::onSelfUpdate()
|
|
{
|
|
this->_window.useCamera(this->_camera);
|
|
}
|
|
} |