import TilorswiftEvent from "./TilorswiftEvent.js"; export default class TilorswiftFieldClickedEvent extends Event { constructor(field, button) { console.log('So kommt der Scheiß hier rein: ' + button); super(TilorswiftEvent.FIELD_CLICKED); this.field = field; this.button = button; } getField() { return this.field; } }