From 618501b6fae62fa2d5db922ec8abf94120e5e99c Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Wed, 3 Jun 2015 07:50:05 +0200 Subject: Added gamestate object --- include/spacebot.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/spacebot.h') diff --git a/include/spacebot.h b/include/spacebot.h index a5c23c2..b152197 100644 --- a/include/spacebot.h +++ b/include/spacebot.h @@ -1,16 +1,16 @@ #pragma once -#include -#include +#include #include "move.h" +#include "game_state.h" class Spacebot { public: - Spacebot(const std::string& outputPath); + Spacebot(std::string outputPath); void writeNextMove(); private: - std::ifstream mapStream; - std::ofstream resultStream; + std::string outputPath; + GameState gameState; void writeMove(const Move& move); Move chooseMove(); }; -- cgit v1.2.3