UpdateColors() public méthode

public UpdateColors ( Zprite sprite ) : void
sprite Zprite
Résultat void
Exemple #1
0
    public virtual void UpdateColors(Color color)
    {
        meshColors[cv1] = color;
        meshColors[cv2] = color;
        meshColors[cv3] = color;
        meshColors[cv4] = color;

        m_manager.UpdateColors();
    }
Exemple #2
0
 // Sets the specified color and automatically notifies the
 // SpriteManager to update the colors:
 public void SetColor(Color c)
 {
     color = c;
     m_manager.UpdateColors(this);
 }