most ability displays (#8981)

* works

* why not

* idk if that changes it but

* json

* destringening

* automatic imports and leftover marker

* uirfirf
This commit is contained in:
nullevoy
2023-09-02 15:19:32 +02:00
committed by GitHub
parent bff4097c88
commit cc66ccb49f
49 changed files with 358 additions and 107 deletions

View File

@@ -15,6 +15,8 @@ public abstract class Ability implements Cloneable{
public void draw(Unit unit){}
public void death(Unit unit){}
public void init(UnitType type){}
public void displayBars(Unit unit, Table bars){}
public void addStats(Table t){}
public Ability copy(){
try{
@@ -25,10 +27,6 @@ public abstract class Ability implements Cloneable{
}
}
public void displayBars(Unit unit, Table bars){
}
/** @return localized ability name; mods should override this. */
public String localized(){
var type = getClass();