mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-15 23:30:38 -08:00
Moved rotation to Building
This commit is contained in:
parent
749b9f5b30
commit
8729410cd8
49 changed files with 154 additions and 202 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue