refactor
This commit is contained in:
@@ -3,10 +3,8 @@ package net.fretux.mindmotion.player;
|
|||||||
public class SanityCapability implements ISanity {
|
public class SanityCapability implements ISanity {
|
||||||
private float sanity = 80f;
|
private float sanity = 80f;
|
||||||
private float insanity = 0f;
|
private float insanity = 0f;
|
||||||
|
|
||||||
// Base + bonus so Ascend can modify max
|
|
||||||
private float baseMaxSanity = 80f;
|
private float baseMaxSanity = 80f;
|
||||||
private float bonusMaxSanity = 0f; // from Ascend willpower etc.
|
private float bonusMaxSanity = 0f;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getSanity() {
|
public float getSanity() {
|
||||||
|
|||||||
@@ -2,10 +2,8 @@ package net.fretux.mindmotion.player;
|
|||||||
|
|
||||||
public class TempoCapability implements ITempo {
|
public class TempoCapability implements ITempo {
|
||||||
private int tempo = 0;
|
private int tempo = 0;
|
||||||
|
|
||||||
private int baseMaxTempo = 120;
|
private int baseMaxTempo = 120;
|
||||||
private float bonusMaxTempo = 0f;
|
private float bonusMaxTempo = 0f;
|
||||||
|
|
||||||
private int ventCooldown = 0;
|
private int ventCooldown = 0;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user