WIP map objective system
This commit is contained in:
29
core/src/mindustry/game/MapObjectives.java
Normal file
29
core/src/mindustry/game/MapObjectives.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package mindustry.game;
|
||||
|
||||
import arc.func.*;
|
||||
import arc.struct.*;
|
||||
import arc.util.*;
|
||||
|
||||
public class MapObjectives{
|
||||
public static Seq<Prov<MapObjective>> allObjectiveTypes = Seq.with();
|
||||
|
||||
public abstract class MapObjective{
|
||||
|
||||
public boolean complete(){
|
||||
return false;
|
||||
}
|
||||
|
||||
public void update(){
|
||||
|
||||
}
|
||||
|
||||
/** Reset internal state, if any. */
|
||||
public void reset(){
|
||||
|
||||
}
|
||||
|
||||
public @Nullable String details(){
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user