mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
17 lines
322 B
JavaScript
17 lines
322 B
JavaScript
import TilorswiftEvent from "./TilorswiftEvent.js";
|
|
|
|
export default class TilorswiftFieldClickedEvent extends Event
|
|
{
|
|
constructor(field, button)
|
|
{
|
|
super(TilorswiftEvent.FIELD_CLICKED);
|
|
|
|
this.field = field;
|
|
this.button = button;
|
|
}
|
|
|
|
getField()
|
|
{
|
|
return this.field;
|
|
}
|
|
} |