* Returns a specific surface set from the resource set. * @param name Name of the surface set. * @return Pointer to the surface set. */
| 110 | * @return Pointer to the surface set. |
| 111 | */ |
| 112 | SurfaceSet *ResourcePack::getSurfaceSet(const std::string &name) const |
| 113 | { |
| 114 | std::map<std::string, SurfaceSet*>::const_iterator i = _sets.find(name); |
| 115 | if (_sets.end() != i) return i->second; else return 0; |
| 116 | } |
| 117 | |
| 118 | /** |
| 119 | * Returns the list of polygons in the resource set. |
no outgoing calls