utility: boost integration

Added boost components: filesystem and system to the project
environment varibable BOOST_155_DIR targeting the boost_1_55_0 folder is needed

review id = 14

fortune cookie message = when you speak honestly and openly, others truly listen to you
This commit is contained in:
Andreas Stallinger
2014-05-13 17:24:53 +02:00
parent 95e51b1780
commit ac55261af6
19 changed files with 310 additions and 8 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef _PLAYER_
#define _PLAYER_
#include <string>
#include "field.h"
class Player {
public:
Player( Field::Token token, const std::string& name )
: token_( token )
, name_( name ) {
}
virtual Field::Move Turn( const Field& field ) const = 0;
const Field::Token token_;
const std::string name_;
};
#endif // _PLAYER_
+33
View File
@@ -0,0 +1,33 @@
class Player {
public:
void Do() {}
};
class Base {};
class Game : public Base {
public:
Game() {
Init();
}
void Init() {}
void Run() {
player.Do();
}
private:
Player player;
};
Game* game;
int main() {
game = new Game();
game->Run();
delete game;
return 0;
}