Skip to content

Commit

Permalink
Settings UI and change key
Browse files Browse the repository at this point in the history
  • Loading branch information
bv23164 committed Apr 14, 2024
1 parent aab667c commit 7f08a77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Code/src/main/java/org/example/Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public int getMaxBombs() {
public void increaseLife() {this.health += 1;}

public void ifTouchEnemy(){
System.out.println("?");
//System.out.println("?");
for(Enemy enemy : enemies) {
if (dist(px, py, enemy.x(), enemy.y()) < (float) tile / 2
&& parent.millis() - damageTime > 1000) {
Expand Down

0 comments on commit 7f08a77

Please sign in to comment.