summaryrefslogtreecommitdiff
path: root/include/spacebot.h
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2015-06-03 07:50:05 +0200
committerJustin Worthe <justin.worthe@gmail.com>2015-06-03 07:50:05 +0200
commit618501b6fae62fa2d5db922ec8abf94120e5e99c (patch)
tree26cd18ceef12003d4d7b84b40bf9b77f7465093c /include/spacebot.h
parent4f75af9646b03ce4101820c10152944c780e7c0a (diff)
Added gamestate object
Diffstat (limited to 'include/spacebot.h')
-rw-r--r--include/spacebot.h10
1 files changed, 5 insertions, 5 deletions
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 <iostream>
-#include <fstream>
+#include <string>
#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();
};