Working animations

This commit is contained in:
Ian Gulliver
2021-05-11 03:12:32 +00:00
parent 0ff24fe806
commit ea167e42a1
17 changed files with 74 additions and 37 deletions

View File

@@ -81,7 +81,8 @@ export function main() {
grid.add_tile('bridge', tiles.BRIDGE_LR, 46, 18);
grid.add_tile('bridge', tiles.BRIDGE_LR, 46, 10);
grid.add_tile('tower', tiles.TOWER_FIREBALL1, 30, 18);
const tower = grid.add_tile('tower', tiles.TOWER_FIREBALL1, 30, 18);
setInterval(() => tower.play('fire'), 3250);
};
main();