This commit is contained in:
Anuken
2020-02-13 11:22:29 -05:00
27 changed files with 270 additions and 204 deletions

View File

@@ -92,6 +92,10 @@ public class EventType{
}
}
public static class ClientCreateEvent{
}
/** Called when the client game is first loaded. */
public static class ClientLoadEvent{

View File

@@ -98,6 +98,7 @@ public class Teams{
/** Do not modify. */
public Array<TeamData> getActive(){
active.removeAll(t -> !t.active());
return active;
}
@@ -167,6 +168,14 @@ public class Teams{
public CoreEntity core(){
return cores.first();
}
@Override
public String toString(){
return "TeamData{" +
"cores=" + cores +
", team=" + team +
'}';
}
}
/** Represents a block made by this team that was destroyed somewhere on the map.