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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user