Files
letnik3koncni-prap/include/game/agame/camcontroller.hpp
2026-03-16 14:56:32 +01:00

19 lines
435 B
C++

#pragma once
#include <object/entity.hpp>
#include <renderer/texture.hpp>
#include <renderer/font.hpp>
#include <object/sound.hpp>
namespace Game::AGame {
GAME_ENTITY(CamController)
public:
void onWindowResized(int newWidth, int newHeight) override {
mScreenW = newWidth;
mScreenH = newHeight;
}
private:
int mScreenW, mScreenH;
END_GAME_ENTITY()
}