diff options
Diffstat (limited to 'main.rhm')
-rw-r--r-- | main.rhm | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -47,5 +47,9 @@ entity.current_chunk.set_tile(0, 1, world.Tile(#'wall_north)) test(!entity.move(0, 0), "Blocked by wall") test(entity.move(1,1), "Move by wall") +reset_entity(entity, 0, 0) +let other_ent = world.Entity(1, 1, 1, chunk) +test(entity.gather(other_ent), "Gathering") + //world.entities //println(@str{Entity is @(entity.x) @(entity.y)}) |