* Returns a particular frame from the surface set. * @param i Frame number in the set. * @return Pointer to the respective surface. */
| 213 | * @return Pointer to the respective surface. |
| 214 | */ |
| 215 | Surface *SurfaceSet::getFrame(int i) |
| 216 | { |
| 217 | if (_frames.find(i) != _frames.end()) |
| 218 | { |
| 219 | return _frames[i]; |
| 220 | } |
| 221 | return 0; |
| 222 | } |
| 223 | |
| 224 | /** |
| 225 | * Creates and returns a particular frame in the surface set. |
no outgoing calls