import { Component, TagComponent } from "ecsy"
import { interaction } from "pixi.js"

export class InitializedClickable extends TagComponent {}

export class Clickable extends Component {
  actions: { [id: string]: (event: interaction.InteractionEvent) => void } = {}

  reset() {
    this.actions = {}
  }
}
