kora-bot/Source/QueueEntry.h

25 lines
501 B
C
Raw Normal View History

2023-04-10 23:31:02 +00:00
#pragma once
#include <BWAPI.h>
using namespace BWAPI;
class CUnit;
class QueueEntry
{
public:
QueueEntry();
QueueEntry(BWAPI::TechType tech, bool inProgress, float score);
QueueEntry(BWAPI::UnitType unit, bool inProgress, float score);
QueueEntry(BWAPI::UpgradeType upgrade, bool inProgress, float score);
BWAPI::TechType tech;
BWAPI::UnitType unit;
BWAPI::UpgradeType upgrade;
bool inProgress;
bool isTech();
bool isUnit();
bool isUpgrade();
double score;
};