|
SuperTuxKart
|
The data for one event. More...
Public Member Functions | |
| EventData (video::SColor colour, int max_size) | |
| void | setStart (size_t frame, double start, int layer) |
| Records the start of an event for a given frame. | |
| void | setEnd (size_t frame, double end) |
| Records the end of an event for a given frame. | |
| const Marker & | getMarker (int n) const |
| Marker & | getMarker (int n) |
| video::SColor | getColour () const |
| Returns the colour for this event. | |
Private Attributes | |
| video::SColor | m_colour |
| Colour to use in the on-screen display. | |
| std::vector< Marker > | m_all_markers |
| Vector of all buffered markers. | |
The data for one event.
It contains the events colours, all markers for the buffer period and a stack to detect nesting of markers.