This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package mindustry.entities.abilities;
|
||||
|
||||
import arc.*;
|
||||
import arc.scene.ui.layout.*;
|
||||
import mindustry.gen.*;
|
||||
|
||||
public abstract class Ability implements Cloneable{
|
||||
@@ -16,6 +17,10 @@ public abstract class Ability implements Cloneable{
|
||||
}
|
||||
}
|
||||
|
||||
public void displayBars(Unit unit, Table bars){
|
||||
|
||||
}
|
||||
|
||||
/** @return localized ability name; mods should override this. */
|
||||
public String localized(){
|
||||
return Core.bundle.get("ability." + getClass().getSimpleName().replace("Ability", "").toLowerCase());
|
||||
|
||||
Reference in New Issue
Block a user