Fixed MapIO not reading map stream fully
This commit is contained in:
@@ -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){{
|
||||
|
||||
}};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user