MCPcopy Create free account
hub / github.com/bwapi/bwapi / Location

Class Location

bwapi/BWScriptEmulator/Location.h:4–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include <BWAPI.h>
3
4class Location
5{
6public:
7 Location(int left = 0, int top = 0, int right = 0, int bottom = 0);
8 Location(BWAPI::Position leftTop, BWAPI::Position rightBottom);
9
10 BWAPI::Position center() const;
11 int left() const;
12 int top() const;
13 int right() const;
14 int bottom() const;
15
16 BWAPI::Position topLeft;
17 BWAPI::Position bottomRight;
18};

Callers 1

aithreadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected