BWAPI
quorum/ExampleAIModule/MicroTacticsModel.h
Go to the documentation of this file.
00001 #ifndef MICROTACTICSMODEL_H
00002 #define MICROTACTICSMODEL_H
00003 #include <vector>
00004 #include "BWAPI.h"
00005 #include "TargetFitnessCalculator.h"
00006 
00007 using namespace BWAPI;
00008 
00009 class MicroTacticsModel {
00010 
00011 public:
00012                 ~MicroTacticsModel() {
00013                 }
00014                 virtual bool MicroTacticsModel::executeTactics() = 0;
00015                 virtual Unit* getUnit() = 0;
00016                 virtual UnitType getKnownType() = 0;
00017                 virtual void setMovementLag(int l) = 0;
00018                 virtual void move(Position p) = 0;
00019 
00020 private:
00021         Unit* element;
00022         Unit* followTarget;
00023         int initialMovementLag;
00024         int movementLagTimer;
00025         UnitType knownType;
00026 };
00027 
00028 
00029 
00030 #endif
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines