| 40 | } |
| 41 | |
| 42 | HUDDialog* HUDDialogStack::top() const { |
| 43 | const int index = (const int)stack.size(); |
| 44 | if (index == 0) { return NULL; } |
| 45 | return stack[index - 1]; |
| 46 | } |
| 47 | |
| 48 | void HUDDialogStack::push(HUDDialog* dialog) { |
| 49 | if (!dialog) { return; } |
no test coverage detected