Moved rotation to Building
This commit is contained in:
@@ -86,7 +86,7 @@ public class PowerTestFixture{
|
||||
Reflect.set(Tile.class, tile, "floor", Blocks.sand);
|
||||
|
||||
// Simulate the "changed" method. Calling it through reflections would require half the game to be initialized.
|
||||
tile.build = block.newEntity().init(tile, Team.sharded, false);
|
||||
tile.build = block.newEntity().init(tile, Team.sharded, false, 0);
|
||||
if(block.hasPower){
|
||||
tile.build.power.graph = new PowerGraph(){
|
||||
//assume there's always something consuming power
|
||||
|
||||
Reference in New Issue
Block a user