Foundation for building AI

This commit is contained in:
Anuken
2020-06-05 20:41:05 -04:00
parent 685f915656
commit 0b4de1a4fa
13 changed files with 132 additions and 21 deletions

View 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
}
}
}