Write synced entities in world data
This commit is contained in:
@@ -667,6 +667,13 @@ public class TypeIO{
|
||||
public Building unbox(){
|
||||
return world.build(pos);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString(){
|
||||
return "BuildingBox{" +
|
||||
"pos=" + pos +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
/** Represents a unit that has not been resolved yet. TODO unimplemented / unused*/
|
||||
@@ -680,5 +687,12 @@ public class TypeIO{
|
||||
public Unit unbox(){
|
||||
return Groups.unit.getByID(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString(){
|
||||
return "UnitBox{" +
|
||||
"id=" + id +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user