Adrià Vilanova MartÃnez | 12c84c3 | 2024-10-19 15:55:15 +0200 | [diff] [blame^] | 1 | import Script from '../../../common/architecture/scripts/Script'; |
2 | |||||
3 | export default class ScriptRunner { | ||||
4 | constructor(private scripts: Script[]) {} | ||||
5 | |||||
6 | run() { | ||||
7 | for (const script of this.scripts) { | ||||
8 | script.execute(); | ||||
9 | } | ||||
10 | } | ||||
11 | } |