mr-crocs-adventures/js/events/ImageLoadedEvent.js

13 lines
224 B
JavaScript

import BaseEvent from "./BaseEvent.js";
export default class ImageLoadedEvent extends BaseEvent
{
constructor(filename) {
super('imgloaded', filename);
}
getFilename()
{
this.detail;
}
}