* Blits all the visible Surface child elements onto the * display screen, by order of addition. */
| 165 | * display screen, by order of addition. |
| 166 | */ |
| 167 | void State::blit() |
| 168 | { |
| 169 | for (std::vector<Surface*>::iterator i = _surfaces.begin(); i != _surfaces.end(); ++i) |
| 170 | (*i)->blit(_game->getScreen()->getSurface()); |
| 171 | } |
| 172 | |
| 173 | /** |
| 174 | * Hides all the Surface child elements on display. |
no test coverage detected