dungeon_crawler
diff prototype/src/tileset.cc @ 46:f3030df27110
debugging the particles
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Thu, 13 Sep 2012 06:33:51 +0300 |
parents | e5567ddbf2ef |
children | aa9e28670ae2 |
line diff
1.1 --- a/prototype/src/tileset.cc Wed Sep 12 06:04:20 2012 +0300 1.2 +++ b/prototype/src/tileset.cc Thu Sep 13 06:33:51 2012 +0300 1.3 @@ -72,6 +72,13 @@ 1.4 return res != tiles.end() ? res->second : 0; 1.5 } 1.6 1.7 +void TileSet::update_tiles(unsigned long msec) 1.8 +{ 1.9 + for(auto tilepair : tiles) { 1.10 + tilepair.second->update(msec, 0.0f); 1.11 + } 1.12 +} 1.13 + 1.14 void set_active_tileset(TileSet *set) 1.15 { 1.16 active_tileset = set;