Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PopResourcesFunction

Hierarchy

  • PopResourcesFunction

Callable

  • PopResourcesFunction(blockCoords: Vector, block: Tile, region: BlockSource, explosionRadius: number, i: number): void
  • Function used to determine when block is broken by environment (explosions, pistons, etc.)

    Parameters

    • blockCoords: Vector

      coordinates where the block is destroyed and side from where it is destroyed

    • block: Tile

      information about block that is broken

    • region: BlockSource

      BlockSource object

    • explosionRadius: number
    • i: number

      unknown parameter, supposed to always be zero

    Returns void

Generated using TypeDoc