Skip to content

Commit

Permalink
Game updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Arinerron committed Mar 24, 2017
1 parent d929f2b commit 0c02424
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/game/Game.java
Original file line number Diff line number Diff line change
Expand Up @@ -450,12 +450,12 @@ public void kill() {

// resets player state
public void reset() {
this.x = this.spawnx;
this.y = this.spawny;
this.xacceleration = 0;
this.yacceleration = 0;
this.character_current = this.character_down;
this.filter = 0;
this.x = this.spawnx;
this.y = this.spawny;
this.xacceleration = 0;
this.yacceleration = 0;
this.character_current = this.character_down;
this.filter = 0;
}

// calculate what speed to travel at
Expand Down

0 comments on commit 0c02424

Please sign in to comment.