public override void Update(double gameTime) { _cursorBlinkCounter += gameTime; if (_cursorBlinkCounter > 600) { _cursorBlinkCounter = 0; if (_selectAlpha == 255) { _selectAlpha = 0; } else { _selectAlpha = 255; } } _playerStatsGui.Update(_stats, _equipment); _instrumentColor += 1; if (_instrumentColor > 255) { _instrumentColor = 0; } }
public override void Update(double gameTime) { _playerStatsGui.Update(GetComponent <Stats>(), GetComponent <Equipment>()); }