forked from University/epr24pr42-ojanssen2
main #1
16 changed files with 29 additions and 37 deletions
8
.idea/.gitignore
generated
vendored
8
.idea/.gitignore
generated
vendored
|
@ -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
|
|
@ -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){}
|
|
@ -1,4 +1,4 @@
|
|||
#include "../Util/Vector2d.h"
|
||||
#include "Vector2d.h"
|
||||
|
||||
#ifndef ENTITY_H
|
||||
#define ENTITY_H
|
|
@ -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;
|
|
@ -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
|
|
@ -1,4 +1,4 @@
|
|||
#include "../std_lib_inc.h"
|
||||
#include "std_lib_inc.h"
|
||||
#ifndef MALFORMEDMAZE_H
|
||||
#define MALFORMEDMAZE_H
|
||||
|
|
@ -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 {
|
|
@ -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;
|
|
@ -1,4 +1,4 @@
|
|||
#include "../std_lib_inc.h"
|
||||
#include "std_lib_inc.h"
|
||||
#ifndef MOVEMENTNOTPOSSIBLE_H
|
||||
#define MOVEMENTNOTPOSSIBLE_H
|
||||
|
|
@ -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;
|
|
@ -1,5 +1,5 @@
|
|||
#include "../Util/Vector2d.h"
|
||||
#include "../Util/GameState.h"
|
||||
#include "GameState.h"
|
||||
|
||||
#ifndef PLAYER_H
|
||||
#define PLAYER_H
|
|
@ -1,4 +1,4 @@
|
|||
#include "../std_lib_inc.h"
|
||||
#include "std_lib_inc.h"
|
||||
#ifndef UNKOWNACTION_H
|
||||
#define UNKOWNACTION_H
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#include "Vector2d.h"
|
||||
#include "Util/Vector2d.h"
|
||||
|
||||
namespace game
|
||||
{
|
6
main.cpp
6
main.cpp
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue