We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e98e8fa commit b70b939Copy full SHA for b70b939
1 file changed
src/main/java/com/github/jmatcj/ld43/entity/Entity.java
@@ -80,13 +80,13 @@ protected void keepInBounds() {
80
if (xPos < 0) {
81
xPos = 0;
82
} else if (xPos > LDJam43.SCREEN_WIDTH - width) {
83
- xPos = LDJam43.SCREEN_WIDTH - width - 10;
+ xPos = LDJam43.SCREEN_WIDTH - width;
84
}
85
86
if (yPos < 0) {
87
yPos = 0;
88
} else if (yPos > LDJam43.SCREEN_HEIGHT - height) {
89
- yPos = LDJam43.SCREEN_HEIGHT - height - 10;
+ yPos = LDJam43.SCREEN_HEIGHT - height;
90
91
92
0 commit comments