Handbuch Scroll-Listen entfernt. Handbuch offen und tabs eingefügt. Upgrades eingefügt. "Garage" eingefügt. Anbindung eines echten Gameplaymanager möglich (theoretisch)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace DepthsOfGreed.HandbookUI
|
||||
{
|
||||
public static class HandbookCostText
|
||||
{
|
||||
public static string Format(int energy, int entrails)
|
||||
{
|
||||
string a = energy > 0 ? energy + " Energie" : "";
|
||||
string b = entrails > 0 ? entrails + " Gedärme" : "";
|
||||
return a.Length > 0 && b.Length > 0 ? a + " · " + b : a + b;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user