Rename cap graph
This commit is contained in:
@@ -4,8 +4,7 @@ from gui.builtinGraphs import ( # noqa: E402,F401
|
||||
# fitDmgVsTime,
|
||||
# fitShieldRegenVsShieldPerc,
|
||||
# fitShieldAmountVsTime,
|
||||
fitCap,
|
||||
# fitCapAmountVsTime,
|
||||
fitCapRegen,
|
||||
fitMobility,
|
||||
fitWarpTime
|
||||
)
|
||||
|
||||
@@ -23,9 +23,9 @@ import math
|
||||
from .base import FitGraph, XDef, YDef, Input
|
||||
|
||||
|
||||
class FitCapAmountVsTimeGraph(FitGraph):
|
||||
class FitCapRegenGraph(FitGraph):
|
||||
|
||||
name = 'Capacitor'
|
||||
name = 'Capacitor Regeneration'
|
||||
|
||||
# UI stuff
|
||||
@property
|
||||
@@ -117,4 +117,4 @@ def calculateCapRegen(maxCapAmount, capRegenTime, currentCapAmount):
|
||||
return 10 * maxCapAmount / capRegenTime * (math.sqrt(currentCapAmount / maxCapAmount) - currentCapAmount / maxCapAmount)
|
||||
|
||||
|
||||
FitCapAmountVsTimeGraph.register()
|
||||
FitCapRegenGraph.register()
|
||||
Reference in New Issue
Block a user