migrate from perforce
This commit is contained in:
11
dist/Simulation/Actions/SimActionFireTowers.js
vendored
Normal file
11
dist/Simulation/Actions/SimActionFireTowers.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
export class SimActionFireTowers {
|
||||
execute(simMain) {
|
||||
const level = simMain.currentLevel;
|
||||
level.simCells.forEach((simCell) => {
|
||||
if (simCell.simTower != null) {
|
||||
simCell.simTower.fireIfAble();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=SimActionFireTowers.js.map
|
||||
Reference in New Issue
Block a user