Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (x <- 0 until this.width;y <- 0 until this.height) {
- if (eventCoords.contains(x, y))
- {
- this.update(new Coords(x, y), new Floor(new Coords(x,y), counter,Some(tapahtumalista.monsterit(laskuri))))
- laskuri+=1
- }
- else if (floorCoords.contains(x, y))
- {
- this.update(new Coords(x, y), new Floor(new Coords(x,y), counter,None))
- }
- else
- {
- this.update(new Coords(x, y), new Wall(new Coords(x,y), counter))
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement