BWAPI
SPAR/AIModule/SparAIModule/DecisionMaking/Layer1Reactive/Layer1Reactive.h
Go to the documentation of this file.
00001 #pragma once
00002 #include "../../Utils/Component.h"
00003 #include <BWAPI.h>
00004 
00005 template <class Layer1GameState>
00006 class Layer1Reactive : public Component
00007 {
00008 public:
00009   typedef empty<Layer1Reactive> L1UnitData;
00010 
00011   Layer1Reactive(Layer1GameState& layer1GameState)
00012     : m_layer1GameState(layer1GameState)
00013   {
00014   }
00015 
00016   void onStart() {}
00017   void onFrame() {}
00018   void onEnd() {}
00019   void onSendText(std::string text) {}
00020 
00021 protected:
00022   Layer1GameState& m_layer1GameState;
00023 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines