mr-crocs-adventures/tilorswift/js/events/TilorswiftFieldClickedEvent.js

17 lines
322 B
JavaScript
Raw Normal View History

2020-01-30 20:51:29 +01:00
import TilorswiftEvent from "./TilorswiftEvent.js";
export default class TilorswiftFieldClickedEvent extends Event
2020-01-30 20:51:29 +01:00
{
constructor(field, button)
2020-01-30 20:51:29 +01:00
{
super(TilorswiftEvent.FIELD_CLICKED);
this.field = field;
this.button = button;
2020-01-30 20:51:29 +01:00
}
getField()
{
return this.field;
2020-01-30 20:51:29 +01:00
}
}