Cleanup
This commit is contained in:
@@ -364,7 +364,7 @@ public class Tile implements Position, QuadTreeObject{
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of all tiles linked to this multiblock, or an empty array if it's not a multiblock.
|
||||
* Returns the list of all tiles linked to this multiblock.
|
||||
* This array contains all linked tiles, including this tile itself.
|
||||
*/
|
||||
public Array<Tile> getLinkedTiles(Array<Tile> tmpArray){
|
||||
@@ -374,7 +374,7 @@ public class Tile implements Position, QuadTreeObject{
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of all tiles linked to this multiblock if it were this block, or an empty array if it's not a multiblock.
|
||||
* Returns the list of all tiles linked to this multiblock if it were this block.
|
||||
* This array contains all linked tiles, including this tile itself.
|
||||
*/
|
||||
public Array<Tile> getLinkedTilesAs(Block block, Array<Tile> tmpArray){
|
||||
|
||||
@@ -56,8 +56,7 @@ public class PowerGraph{
|
||||
|
||||
/** @return multiplier of speed at which resources should be consumed for power generation. */
|
||||
public float getUsageFraction(){
|
||||
//TODO enable it later, or not?
|
||||
return 1f; //lastUsageFraction;
|
||||
return 1f;
|
||||
}
|
||||
|
||||
public float getPowerProduced(){
|
||||
|
||||
@@ -9,6 +9,7 @@ import mindustry.gen.*;
|
||||
import mindustry.world.*;
|
||||
|
||||
public class ResearchBlock extends Block{
|
||||
public float researchSpeed = 1f;
|
||||
|
||||
public ResearchBlock(String name){
|
||||
super(name);
|
||||
|
||||
Reference in New Issue
Block a user