Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymax25 committed Dec 13, 2021
1 parent 591f652 commit 761b7cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions projet/funprog-al/src/main/scala/progfun/Environnement.scala
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,4 @@ class Environnement(limit_x: Int, limit_y: Int, var mowers: List[Mower]) {
.filter(m => m.position.x == x && m.position.y == y)
.length == 0

def get_limit_x = limit_x
def get_limit_y = limit_y
}
6 changes: 3 additions & 3 deletions projet/funprog-al/src/main/scala/progfun/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ object Main extends App {

while (env.mowers.filter(m => m.playedActions.length > 0).length > 0) {
env.play()
// print("\u001b[2J")
// Thread.sleep(250)
print("\u001b[2J")
Thread.sleep(250)
env.display()
}

env.display()

// println(env.mowers)

Expand Down

0 comments on commit 761b7cd

Please sign in to comment.