| 843 | |
| 844 | |
| 845 | SimObject* SimGroup::getObject(const S32& index) |
| 846 | { |
| 847 | if (index < 0 || index >= size()) |
| 848 | { |
| 849 | Con::errorf("Set::getObject - index out of range."); |
| 850 | return NULL; |
| 851 | } |
| 852 | |
| 853 | return (*this)[index]; |
| 854 | } |
| 855 | //----------------------------------------------------------------------------- |
| 856 | |
| 857 | SimObject* SimGroupIterator::operator++() |
no test coverage detected