diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-02-24 20:15:19 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-02-24 20:15:19 +0000 |
commit | 1c4742e530271e10ae949cf7e85402bee867e298 (patch) | |
tree | f95927614c4f9a84a507c9425b882f945be6d09f /src/map.h | |
parent | 05a12d5568111fa13759026442ed358605bf9a28 (diff) | |
download | mana-1c4742e530271e10ae949cf7e85402bee867e298.tar.gz mana-1c4742e530271e10ae949cf7e85402bee867e298.tar.bz2 mana-1c4742e530271e10ae949cf7e85402bee867e298.tar.xz mana-1c4742e530271e10ae949cf7e85402bee867e298.zip |
Another bunch of cosmetic cleanups, ie mostly typedefs...
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -37,7 +37,9 @@ class Sprite; struct PATH_NODE; typedef std::vector<Tileset*> Tilesets; +typedef Tilesets::iterator TilesetIterator; typedef std::list<Sprite*> Sprites; +typedef Sprites::iterator SpriteIterator; /** * A meta tile stores additional information about a location on a tile map. @@ -163,14 +165,14 @@ class Map : public Properties /** * Adds a sprite to the map. */ - Sprites::iterator + SpriteIterator addSprite(Sprite *sprite); /** * Removes a sprite from the map. */ void - removeSprite(Sprites::iterator iterator); + removeSprite(SpriteIterator iterator); private: /** |