mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Graveyard terrain and background tiles implemented
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import TilorswiftEvent from "./TilorswiftEvent.js";
|
||||
|
||||
export default class TilorswiftBackgroundButtonTileClickedEvent extends Event
|
||||
{
|
||||
constructor(button) {
|
||||
super(TilorswiftEvent.BACKGROUND_BUTTON_TILE_CLICKED);
|
||||
this.button = button;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import TilorswiftEvent from "./TilorswiftEvent.js";
|
||||
|
||||
export default class TilorswiftButtonBackgroundTileClickedEvent extends Event
|
||||
{
|
||||
constructor(button) {
|
||||
super(TilorswiftEvent.BACKGROUND_BUTTON_TILE_CLICKED);
|
||||
this.button = button;
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@ const TilorswiftEvent = {
|
||||
FIELD_CLICKED: 'fieldClicked',
|
||||
FIELD_ENTERED: 'fieldEntered',
|
||||
BUTTON_TILE_CLICKED: 'buttonTileClicked',
|
||||
BACKGROUND_BUTTON_TILE_CLICKED: 'backgroundButtonTileClicked',
|
||||
MENU_SAVE_CLICKED: 'menuSaveClicked',
|
||||
MENU_OPEN_CLICKED: 'menuOpenClicked',
|
||||
DIALOG_BUTTON_OK_CLICKED: 'dialogButtonOkClicked',
|
||||
|
||||
Reference in New Issue
Block a user