2013/5/3
public void eat() { if (canSee(barrel.class)) { eat(barrel.class); } }
public void eat() { Actor barrel; barrel = getOneObjectAtOffset(0,0, barrel.class); if (barrel!=null) { World world; world = getWorld(); world.removeObject (barrel); } }
X