Adds InputWindowElement.

This commit is contained in:
2021-08-26 14:51:50 +09:00
parent 11279acb02
commit a07c61675e
19 changed files with 385 additions and 9 deletions

View File

@@ -36,10 +36,12 @@ class Game : public iDrawable, public iWritable {
Game(Param&& p);
void Update() {
void Update(const std::string& input) {
clock_.Tick();
frame_.Clear();
frame_.input = input;
UniqPtr<iScene> next = scene_->Update(frame_);
if (next) {
scene_ = std::move(next);