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>
main
sigonasr2, Sig, Sigo 2 years ago committed by GitHub
parent b9e9756b25
commit 9c9a15f2ac
  1. 1
      src/sig/events/WaterEvent.java

@ -18,7 +18,6 @@ public class WaterEvent implements Event{
@Override @Override
public boolean performScreenLoad(int x, int y) { public boolean performScreenLoad(int x, int y) {
RabiClone.CURRENT_MAP.getMap().setWaterLevel((char)(y/Tile.TILE_HEIGHT*Tile.TILE_HEIGHT)); RabiClone.CURRENT_MAP.getMap().setWaterLevel((char)(y/Tile.TILE_HEIGHT*Tile.TILE_HEIGHT));
System.out.println("Set Water level "+System.currentTimeMillis());
return true; return true;
} }

Loading…
Cancel
Save