feat: Add global access for selected Game object
> separated commit in case this functionality is already provided through other means and needs to be reverted > probably target for rehaul in the future for better/less invasive approach
This commit is contained in:
@@ -5,6 +5,10 @@ games::Game::Game(std::string name) {
|
||||
this->name = name;
|
||||
}
|
||||
|
||||
const char *games::Game::title() {
|
||||
return this->name.c_str();
|
||||
}
|
||||
|
||||
void games::Game::attach() {
|
||||
log_info("game", "attach: {}", name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user