Permalink
Browse files

less closures.. and it compiles o/

  • Loading branch information...
1 parent e9e60e2 commit 0a1f304d2a0538daa6b802116f355ebf65fa5cd5 Amos Wenger committed Aug 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/Level.ooc
View
@@ -1,7 +1,7 @@
import ldkit/[Engine, Dead, Math, Sprites, UI, Actor, Input, Pass, Colors, Collision]
import io/[FileReader, File]
-import structs/ArrayList
+import structs/[ArrayList, List]
import deadlogger/Log
import Block, Hero, TimeHelper, LevelSelect, Power, bioboy
@@ -90,7 +90,7 @@ Level: class extends Actor {
hudPass addSprite(lifeLabel)
}
- neighbors: func (pos: Vec2, f: Func (Block)) -> List<Block> {
+ neighbors: func (pos: Vec2) -> List<Block> {
minX := pos x - Block SIDE * 1.5
maxX := pos x + Block SIDE * 1.5
minY := pos y - Block SIDE * 1.5

0 comments on commit 0a1f304

Please sign in to comment.