public void heal(int a_amount) { if (a_amount < 0) { ErrorLogger.getInstance().writeString("Player can not be healed a negative amount, skipped"); } else { m_health = (int)Math.Min(m_health + a_amount, 3); updateHealthGUI(); } }