Water level now set by screen loads instead of collision
Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
b9e9756b25
commit
9c9a15f2ac
@ -18,7 +18,6 @@ public class WaterEvent implements Event{
|
||||
@Override
|
||||
public boolean performScreenLoad(int x, int y) {
|
||||
RabiClone.CURRENT_MAP.getMap().setWaterLevel((char)(y/Tile.TILE_HEIGHT*Tile.TILE_HEIGHT));
|
||||
System.out.println("Set Water level "+System.currentTimeMillis());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user