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

13 lines
348 B
JavaScript

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';
}
}