Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated readme, added comment. Collision checking are done, post-coll…
…ision actions need to be finished
  • Loading branch information
wjg12004 committed Apr 22, 2016
1 parent 65699ea commit 40854a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -7,7 +7,7 @@
* [x] Tile/Wall rendering
* [x] Basic level loading (hard-coded levels)
* [ ] Advanced level loading (stored in text files)
* [ ] Collision checking
* [x] Collision checking
* [ ] Menus
* [ ] Main menu
* [ ] Pausing
Expand Down
2 changes: 1 addition & 1 deletion src/game/level/Level.java
Expand Up @@ -101,8 +101,8 @@ public class Level {

private void playerWallCollisions() {
// Check for collisions, flip flag, if flag is true move player
// boolean collided = false;

//TODO: Make this better and stop sending player to middle.
for (Tile[] tileRow : tiles) {
for (Tile tile : tileRow) {
if (tile.isWall()) {
Expand Down

0 comments on commit 40854a4

Please sign in to comment.