mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Tileset dialog for Tilorswift and fix for adding rows.
This commit is contained in:
@@ -2,12 +2,11 @@ import TilorswiftEvent from "./TilorswiftEvent.js";
|
||||
|
||||
export default class TilorswiftNewTerrainEvent extends Event
|
||||
{
|
||||
constructor(tileset, tilesX, tilesY)
|
||||
constructor(tilesetIndex, tilesX, tilesY)
|
||||
{
|
||||
super(TilorswiftEvent.NEW_TERRAIN);
|
||||
this.tileset = tileset;
|
||||
this.tilesetIndex = tilesetIndex;
|
||||
this.tilesX = tilesX;
|
||||
this.tilesY = tilesY;
|
||||
this.backgroundColor = '#6096ff';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user