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 "../Environment/Maze.h"
#include "Entities/Entity.h"
#include "Maze.h"
namespace game {
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
#define ENTITY_H

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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