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

Class Shape

bwapi/include/BWAPI/Client/Shape.h:7–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace BWAPIC
6{
7 struct Shape
8 {
9 Shape()
10 :type(ShapeType::None)
11 ,ctype(BWAPI::CoordinateType::None)
12 ,x1(0)
13 ,y1(0)
14 ,x2(0)
15 ,y2(0)
16 ,extra1(0)
17 ,extra2(0)
18 ,color(0)
19 ,isSolid(false)
20 {
21 }
22
23 Shape(ShapeType::Enum _shapeType, BWAPI::CoordinateType::Enum _ctype, int _x1, int _y1, int _x2, int _y2, int _extra1, int _extra2, int _color, bool _isSolid)
24 :type(_shapeType)
25 ,ctype(_ctype)
26 ,x1(_x1)
27 ,y1(_y1)
28 ,x2(_x2)
29 ,y2(_y2)
30 ,extra1(_extra1)
31 ,extra2(_extra2)
32 ,color(_color)
33 ,isSolid(_isSolid)
34 {
35 }
36
37 ShapeType::Enum type;
38 BWAPI::CoordinateType::Enum ctype;
39 int x1;
40 int y1;
41 int x2;
42 int y2;
43 int extra1;
44 int extra2;
45 int color;
46 bool isSolid;
47 };
48}

Callers 12

drawBoxMethod · 0.85
drawTriangleMethod · 0.85
drawCircleMethod · 0.85
drawEllipseMethod · 0.85
drawDotMethod · 0.85
drawLineMethod · 0.85
drawBoxMethod · 0.85
drawTriangleMethod · 0.85
drawCircleMethod · 0.85
drawEllipseMethod · 0.85
drawDotMethod · 0.85
drawLineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected