tile animation: use tiles.rc to control termination of coal plant smoke
when the coal plant is killed Also, this sets up a framework to handle industrial zones in the same way. git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@759 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
a190bbf88b
commit
0c497aa434
5 changed files with 84 additions and 50 deletions
|
@ -49,6 +49,10 @@ public class Tiles
|
|||
if (tmp != null) {
|
||||
tiles[i].onPower = get(Integer.parseInt(tmp));
|
||||
}
|
||||
tmp = tiles[i].getAttribute("onshutdown");
|
||||
if (tmp != null) {
|
||||
tiles[i].onShutdown = get(Integer.parseInt(tmp));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue