summaryrefslogtreecommitdiffstats
path: root/battle/GhostBot.h
diff options
context:
space:
mode:
Diffstat (limited to 'battle/GhostBot.h')
-rw-r--r--battle/GhostBot.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/battle/GhostBot.h b/battle/GhostBot.h
new file mode 100644
index 00000000..e2628755
--- /dev/null
+++ b/battle/GhostBot.h
@@ -0,0 +1,50 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name: pokegen/GhostBot.h
+// Purpose: Ghost player used by the AI for simulations
+// Author: Ben Boeckel
+// Modified by: Ben Boeckel
+// Created: Tue Oct 16 2007 11:52:23
+// Copyright: ©2007 Ben Boeckel and Nerdy Productions
+// Licence:
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with this program. If not, see <http://www.gnu.org/licenses/>.
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef __POKEGEN_GHOSTBOT__
+#define __POKEGEN_GHOSTBOT__
+
+#include <QList>
+#include <QMap>
+#include "../Ini.h"
+#include "AIProfile.h"
+#include "Arena.h"
+#include "Ghost.h"
+#include "Team.h"
+
+namespace PokeGen
+{
+ class GhostBot : Team
+ {
+ public:
+ Ghost(const PokeMod::Pokemod* par, const QString aiFile, Bot host, const unsigned s, const unsigned l);
+
+ void FeedAttack(const unsigned stat, const unsigned otherLevel, const unsigned power, const bool isAttacker);
+ void FeedItem(const unsigned i);
+ void FeedMove(const unsigned m);
+ void FeedAbility(const unsigned a);
+ private:
+ AIProfile ai;
+ };
+}
+
+#endif