From 6540aa9a8a40ddf39340bc4feeac85b6a38ed6d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nils=20Forss=C3=A9n?= Date: Thu, 9 Nov 2023 14:02:54 +0100 Subject: [PATCH] Changed name of gamestate --- src/{Game.cc => Game_state.cc} | 0 src/{Game.h => Game_state.h} | 0 src/_main.cc | 7 +------ 3 files changed, 1 insertion(+), 6 deletions(-) rename src/{Game.cc => Game_state.cc} (100%) rename src/{Game.h => Game_state.h} (100%) diff --git a/src/Game.cc b/src/Game_state.cc similarity index 100% rename from src/Game.cc rename to src/Game_state.cc diff --git a/src/Game.h b/src/Game_state.h similarity index 100% rename from src/Game.h rename to src/Game_state.h diff --git a/src/_main.cc b/src/_main.cc index cdb5dcd..ae826bf 100644 --- a/src/_main.cc +++ b/src/_main.cc @@ -4,13 +4,8 @@ * All spelkod bör köras från denna fil och denna fil enbart. */ -#include "Game.h" -#include "constants.h" - int main () { - // We only want the main function to start the Game and then run it - Game g { "Example Program", screen_width, screen_height }; - g.start (); + } -- 2.30.2