initial monopoly test
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "game_launcher.h"
|
||||
#include "../games/demo_game.h"
|
||||
#include "../games/tic_tac_toe.h"
|
||||
#include "../games/monopoly/monopoly_game.h"
|
||||
#include "input_manager.h"
|
||||
#include <SFML/Window.hpp>
|
||||
#include <SFML/Graphics.hpp>
|
||||
@@ -37,6 +38,10 @@ int main() {
|
||||
[](uint16_t w, uint16_t h, LowLevelRenderer* r, LowLevelGUI* g, InputManager* im) -> Game* {
|
||||
return new TicTacToeGame(w, h, r, g, im);
|
||||
});
|
||||
launcher.register_game("Monopoly", "Classic property trading game",
|
||||
[](uint16_t w, uint16_t h, LowLevelRenderer* r, LowLevelGUI* g, InputManager* im) -> Game* {
|
||||
return new MonopolyGame(w, h, r, g, im);
|
||||
});
|
||||
launcher.register_game("Demo Game", "Simple test game",
|
||||
[](uint16_t w, uint16_t h, LowLevelRenderer* r, LowLevelGUI* g, InputManager* im) -> Game* {
|
||||
return new DemoGame(w, h, r, g, im);
|
||||
|
||||
Reference in New Issue
Block a user