BWAPI
Skynet/Skynet/Skynet.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "Interface.h"
00004 
00005 #include "Task.h"
00006 
00007 class Skynet : public BWAPI::AIModule
00008 {
00009 public:
00010         Skynet();
00011 
00012         virtual void onStart();
00013         virtual void onEnd(bool isWinner);
00014 
00015         virtual void onFrame();
00016 
00017         virtual void onSendText(std::string text);
00018         virtual void onPlayerLeft(Player player);
00019 
00020 private:
00021         bool mOnBegin;
00022 
00023         int mLeavingGame;
00024         bool mSaidGG;
00025 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines