@@ -6,12 +6,12 @@ import { Runner } from "../../core/runner";
|
||||
export class FlashRunner extends Runner {
|
||||
public player: FlashPlayer;
|
||||
|
||||
constructor(config: Config, debug: boolean, player: typeof FlashPlayer = FlashPlayer) {
|
||||
constructor(config: Config, debug?: boolean, player: typeof FlashPlayer = FlashPlayer) {
|
||||
super(config, Platform.FLASH, debug);
|
||||
this.player = new player(debug);
|
||||
}
|
||||
|
||||
prepare() {
|
||||
setup() {
|
||||
return this.player.prepare();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user