import {IMessageEvent} from "../../../../../../api";
import {MessageEvent} from "../../../../../../events";
import {LoadGameMessageParser} from "../../../parser";

export class LoadGameMessageEvent extends MessageEvent implements IMessageEvent {
  constructor(callBack: Function) {
    super(callBack, LoadGameMessageParser);
  }

  public getParser(): LoadGameMessageParser {
    return this.parser as LoadGameMessageParser;
  }
}
