spicetools/games/game.h

26 lines
434 B
C
Raw Permalink Normal View History

2024-08-28 15:10:34 +00:00
#pragma once
#include <string>
namespace games {
class Game {
private:
std::string name;
public:
Game(std::string name);
virtual ~Game() = default;
// where the main magic will happen
virtual void attach();
virtual const char *title();
2024-08-28 15:10:34 +00:00
// optional
virtual void pre_attach();
virtual void post_attach();
virtual void detach();
};
}