Foundation for building AI
This commit is contained in:
14
core/src/mindustry/ai/BaseAI.java
Normal file
14
core/src/mindustry/ai/BaseAI.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package mindustry.ai;
|
||||
|
||||
import mindustry.game.Teams.*;
|
||||
|
||||
public class BaseAI{
|
||||
|
||||
public void update(TeamData data){
|
||||
|
||||
//only schedule when there's something to build.
|
||||
if(data.blocks.isEmpty()){
|
||||
//TODO
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user