mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Dialogs and function for new terrain.
This commit is contained in:
13
tilorswift/js/events/TilorswiftNewTerrainEvent.js
Normal file
13
tilorswift/js/events/TilorswiftNewTerrainEvent.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import TilorswiftEvent from "./TilorswiftEvent.js";
|
||||
|
||||
export default class TilorswiftNewTerrainEvent extends Event
|
||||
{
|
||||
constructor(tileset, tilesX, tilesY)
|
||||
{
|
||||
super(TilorswiftEvent.NEW_TERRAIN);
|
||||
this.tileset = tileset;
|
||||
this.tilesX = tilesX;
|
||||
this.tilesY = tilesY;
|
||||
this.backgroundColor = '#6096ff';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user