* Initializes a brand new state with no child elements. * By default states are full-screen. * @param game Pointer to the core game. */
| 46 | * @param game Pointer to the core game. |
| 47 | */ |
| 48 | State::State(Game *game) : _game(game), _surfaces(), _screen(true), _modal(0) |
| 49 | { |
| 50 | // initialize palette to all black |
| 51 | memset(_palette, 0, sizeof(_palette)); |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Deletes all the child elements contained in the state. |
nothing calls this directly
no outgoing calls
no test coverage detected