feat: defoldered

This commit is contained in:
moonleay 2025-01-19 18:20:22 +01:00
parent ae7a0a256c
commit 8cb00fad7a
Signed by: moonleay
GPG key ID: 82667543CCD715FB
16 changed files with 29 additions and 37 deletions

8
.idea/.gitignore generated vendored
View file

@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View file

@ -1,5 +1,5 @@
#include "Entity.h" #include "Entities/Entity.h"
#include "../Environment/Maze.h" #include "Maze.h"
namespace game { namespace game {
Entity::Entity(const Vector2d starting_position, const char display_character): pos(starting_position), display_character(display_character), move_left(true){} Entity::Entity(const Vector2d starting_position, const char display_character): pos(starting_position), display_character(display_character), move_left(true){}

View file

@ -1,4 +1,4 @@
#include "../Util/Vector2d.h" #include "Vector2d.h"
#ifndef ENTITY_H #ifndef ENTITY_H
#define ENTITY_H #define ENTITY_H

View file

@ -1,8 +1,8 @@
#include "Game.h" #include "Environment/Game.h"
#include "Maze.h" #include "Environment/Maze.h"
#include "../Exceptions/MovementNotPossible.h" #include "MovementNotPossible.h"
#include "../Exceptions/UnkownAction.h" #include "../Exceptions/UnkownAction.h"
#include "../Util/Vector2d.h" #include "Vector2d.h"
using game::Player; using game::Player;
using game::Maze; using game::Maze;

View file

@ -1,7 +1,7 @@
#include "Maze.h" #include "Environment/Maze.h"
#include "../Entities/Player.h" #include "Player.h"
#include "../Util/GameState.h" #include "GameState.h"
#include "../Entities/Entity.h" #include "Entity.h"
#ifndef GAME_H #ifndef GAME_H
#define GAME_H #define GAME_H

View file

@ -1,4 +1,4 @@
#include "../std_lib_inc.h" #include "std_lib_inc.h"
#ifndef MALFORMEDMAZE_H #ifndef MALFORMEDMAZE_H
#define MALFORMEDMAZE_H #define MALFORMEDMAZE_H

View file

@ -1,7 +1,7 @@
#include "Maze.h" #include "Environment/Maze.h"
#include "../Entities/Entity.h" #include "Entity.h"
#include "../Entities/Player.h" #include "Entities/Player.h"
#include "../Exceptions/MalformedMaze.h" #include "MalformedMaze.h"
using game_exceptions::MalformedMaze; using game_exceptions::MalformedMaze;
namespace game { namespace game {

View file

@ -1,8 +1,8 @@
#ifndef MAZE_H #ifndef MAZE_H
#define MAZE_H #define MAZE_H
#include "../Util/Vector2d.h" #include "Vector2d.h"
#include "../std_lib_inc.h" #include "std_lib_inc.h"
namespace game { namespace game {
class Player; class Player;

View file

@ -1,4 +1,4 @@
#include "../std_lib_inc.h" #include "std_lib_inc.h"
#ifndef MOVEMENTNOTPOSSIBLE_H #ifndef MOVEMENTNOTPOSSIBLE_H
#define MOVEMENTNOTPOSSIBLE_H #define MOVEMENTNOTPOSSIBLE_H

View file

@ -1,8 +1,8 @@
#include "Player.h" #include "Entities/Player.h"
#include "../Environment/Maze.h" #include "../Environment/Maze.h"
#include "../Exceptions/MovementNotPossible.h" #include "MovementNotPossible.h"
#include "../Util/GameState.h" #include "GameState.h"
#include "../Environment/Game.h" #include "Game.h"
using game::GameState; using game::GameState;
using game::Game; using game::Game;

View file

@ -1,5 +1,5 @@
#include "../Util/Vector2d.h" #include "../Util/Vector2d.h"
#include "../Util/GameState.h" #include "GameState.h"
#ifndef PLAYER_H #ifndef PLAYER_H
#define PLAYER_H #define PLAYER_H

View file

@ -1,4 +1,4 @@
#include "../std_lib_inc.h" #include "std_lib_inc.h"
#ifndef UNKOWNACTION_H #ifndef UNKOWNACTION_H
#define UNKOWNACTION_H #define UNKOWNACTION_H

View file

@ -1,4 +1,4 @@
#include "Vector2d.h" #include "Util/Vector2d.h"
namespace game namespace game
{ {

View file

@ -1,7 +1,7 @@
#include "Environment/Maze.h" #include "Environment/Maze.h"
#include "Environment/Game.h" #include "Game.h"
#include "Exceptions/MalformedMaze.h" #include "MalformedMaze.h"
#include "Util/GameState.h" #include "GameState.h"
using game::Maze; using game::Maze;
using game::Game; using game::Game;