We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab0eff3 commit 8933ab4Copy full SHA for 8933ab4
src/main/java/bwapi/Unit.java
@@ -130,11 +130,11 @@ public int getTop() {
130
}
131
132
public int getRight() {
133
- return position.x - getType().dimensionRight();
+ return position.x + getType().dimensionRight();
134
135
136
public int getBottom() {
137
- return position.y - getType().dimensionDown();
+ return position.y + getType().dimensionDown();
138
139
140
public int getHitPoints() {
0 commit comments