decentraland-scenes / Antrom-RPG

Apache License 2.0
0 stars 0 forks source link

Unify all mineable classes into a single class: MineableItem. #41

Closed sdilauro closed 1 month ago

sdilauro commented 1 month ago
constructor(
    mineableType: MineableType,
    gameController: GameController,
    x?: number,
    y?: number,
    z?: number
  )

export type MineableType = {
  shape: string
  audioClipUrl: string
  hoverText: string
  maxDistance: number
  timeout: number
  action: string
}