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

12 lines
321 B
JavaScript
Raw Normal View History

2020-02-10 19:36:46 +01:00
import TilorswiftEvent from "./TilorswiftEvent.js";
export default class TilorswiftNewTerrainEvent extends Event
{
constructor(tilesetIndex, tilesX, tilesY)
2020-02-10 19:36:46 +01:00
{
super(TilorswiftEvent.NEW_TERRAIN);
this.tilesetIndex = tilesetIndex;
2020-02-10 19:36:46 +01:00
this.tilesX = tilesX;
this.tilesY = tilesY;
}
}