Fixed MapIO not reading map stream fully

This commit is contained in:
Anuken
2018-06-02 00:19:31 -04:00
parent 6f9b712230
commit 5b65c2e27e
19 changed files with 141 additions and 50 deletions

View File

@@ -9,7 +9,12 @@ public class Mechs implements ContentList {
@Override
public void load() {
standard = new Mech("standard-mech", false);
standardShip = new Mech("standard-ship", true);
standard = new Mech("standard-mech", false){{
drillPower = 1;
}};
standardShip = new Mech("standard-ship", true){{
}};
}
}

View File

@@ -16,14 +16,11 @@ public class Blocks implements ContentList{
@Override
public void load() {
air = new Block("air") {
air = new Floor("air") {
//don't draw
public void draw(Tile tile) {}
};
//player/enemy spawnpoint?
spawn = new Block("spawn");
blockpart = new BlockPart();
build1 = new BuildBlock("build1");