tile animation: animation is now controlled by tiles.rc
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@732 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
8d940ec99d
commit
3859ca16d7
5 changed files with 65 additions and 113 deletions
|
@ -39,7 +39,7 @@ public class MakeTiles
|
|||
String rawSpec = recipe.getProperty(Integer.toString(i));
|
||||
assert rawSpec != null;
|
||||
|
||||
TileSpec tileSpec = TileSpec.parse(rawSpec);
|
||||
TileSpec tileSpec = TileSpec.parse(i, rawSpec);
|
||||
ImageSpec ref = parseImageSpec(tileSpec);
|
||||
drawTo(ref, gr, 0, TILE_SIZE*i);
|
||||
}
|
||||
|
|
Reference in a new issue