MCPcopy Create free account
hub / github.com/SFML/SFML / shine

Method shine

examples/keyboard/Keyboard.cpp:640–644  ·  view source on GitHub ↗

Start the outline animation

Source from the content-addressed store, hash-verified

638
639 // Start the outline animation
640 void shine(sf::Color color = sf::Color::Yellow)
641 {
642 setOutlineColor(color);
643 m_remaining = duration;
644 }
645
646 // Fade out ouline
647 void update(sf::Time frameTime)

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected