Class ID mapping

This commit is contained in:
Anuken
2020-02-04 13:57:42 -05:00
parent be50997f94
commit 012421afcb
21 changed files with 106 additions and 63 deletions

View File

@@ -3,10 +3,7 @@ package mindustry.entities.units;
import mindustry.gen.*;
//TODO rename
public abstract class UnitController{
protected Unitc unit;
public void set(Unitc unit){
this.unit = unit;
}
public interface UnitController{
void unit(Unitc unit);
Unitc unit();
}