This commit is contained in:
Anuken
2020-05-28 21:13:25 -04:00
parent c5c8d646f7
commit a7f86b2ba6
12 changed files with 19 additions and 19 deletions

View File

@@ -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){

View File

@@ -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(){

View File

@@ -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);