mirror of
https://github.com/Thracky/GlosSI.git
synced 2024-11-19 03:25:29 +00:00
17 lines
276 B
C++
17 lines
276 B
C++
#include "SteamTarget.h"
|
|
|
|
#include <iostream>
|
|
|
|
SteamTarget::SteamTarget(int argc, char* argv[]) : window_([this] { run_ = false; }) {
|
|
|
|
}
|
|
|
|
int SteamTarget::run() {
|
|
run_ = true;
|
|
window_.setFpsLimit(90);
|
|
while (run_) {
|
|
window_.update();
|
|
}
|
|
return 1;
|
|
}
|