From 1c4742e530271e10ae949cf7e85402bee867e298 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Fri, 24 Feb 2006 20:15:19 +0000 Subject: Another bunch of cosmetic cleanups, ie mostly typedefs... --- src/map.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index 35e3d75f..309fefd0 100644 --- a/src/map.h +++ b/src/map.h @@ -37,7 +37,9 @@ class Sprite; struct PATH_NODE; typedef std::vector Tilesets; +typedef Tilesets::iterator TilesetIterator; typedef std::list 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: /** -- cgit v1.2.3-70-g09d2