Skip to content
Permalink
Browse files
Created Class Files for OOP Conversion
  • Loading branch information
Richard Horton committed Aug 9, 2019
1 parent f05281f commit c3cfcab2fec8cbbbd7dad65c2f6fcf053dced1f5
Show file tree
Hide file tree
Showing 9 changed files with 92 additions and 0 deletions.
6 AI.cpp
@@ -0,0 +1,6 @@
#include "AI.h"

AI::AI()
{
//ctor
}
15 AI.h
@@ -0,0 +1,15 @@
#ifndef AI_H
#define AI_H


class AI
{
public:
AI();

protected:

private:
};

#endif // AI_H
@@ -0,0 +1,6 @@
#include "Game.h"

Game::Game()
{
//ctor
}
15 Game.h
@@ -0,0 +1,15 @@
#ifndef GAME_H
#define GAME_H


class Game
{
public:
Game();

protected:

private:
};

#endif // GAME_H
@@ -0,0 +1,6 @@
#include "Grid.h"

Grid::Grid()
{
//ctor
}
15 Grid.h
@@ -0,0 +1,15 @@
#ifndef GRID_H
#define GRID_H


class Grid
{
public:
Grid();

protected:

private:
};

#endif // GRID_H
@@ -0,0 +1,6 @@
#include "Player.h"

Player::Player()
{
//ctor
}
@@ -0,0 +1,15 @@
#ifndef PLAYER_H
#define PLAYER_H


class Player
{
public:
Player();

protected:

private:
};

#endif // PLAYER_H
@@ -32,6 +32,14 @@
<Add option="-Wall" />
<Add option="-fexceptions" />
</Compiler>
<Unit filename="AI.cpp" />
<Unit filename="AI.h" />
<Unit filename="Game.cpp" />
<Unit filename="Game.h" />
<Unit filename="Grid.cpp" />
<Unit filename="Grid.h" />
<Unit filename="Player.cpp" />
<Unit filename="Player.h" />
<Unit filename="main.cpp" />
<Extensions>
<code_completion />

0 comments on commit c3cfcab

Please sign in to comment.