spicetools/games/game.cpp

27 lines
491 B
C++
Raw Permalink Normal View History

2024-08-28 15:10:34 +00:00
#include "game.h"
#include "util/logging.h"
games::Game::Game(std::string name) {
this->name = name;
}
const char *games::Game::title() {
return this->name.c_str();
}
2024-08-28 15:10:34 +00:00
void games::Game::attach() {
log_info("game", "attach: {}", name);
}
void games::Game::pre_attach() {
log_info("game", "pre_attach: {}", name);
}
void games::Game::post_attach() {
log_info("game", "post_attach: {}", name);
}
void games::Game::detach() {
log_info("game", "detach: {}", name);
}