Fixed FoW on campaign maps

This commit is contained in:
Anuken
2022-03-01 15:26:44 -05:00
parent f8851453ad
commit 440f58ad19
7 changed files with 25 additions and 8 deletions
@@ -1,5 +1,8 @@
package mindustry.world;
import arc.util.*;
import mindustry.type.*;
public interface WorldContext{
/** Return a tile in the tile array.*/
@@ -23,4 +26,8 @@ public interface WorldContext{
/** Called when a building is finished reading. */
default void onReadBuilding(){}
default @Nullable Sector getSector(){
return null;
}
}