public void setColor(float r, float g, float b, float a) { _currentColor = (MonoGameColor)_currentColor.copy(); _currentColor.setR(r); _currentColor.setG(g); _currentColor.setB(b); _currentColor.setA(a); }
public void setColor(Color tint) { _currentColor = (MonoGameColor)_currentColor.copy(); _currentColor.setR(tint.rf()); _currentColor.setG(tint.gf()); _currentColor.setB(tint.bf()); _currentColor.setA(tint.af()); }