LaserShotProvider
Index
Functions
onProjectileHit
Parameters
projectile: number
target: any
Returns void
removeShot
Parameters
laser: LaserShot
Returns void
shootLaser
Parameters
player: number
pos: Vector
vel: Vector
params: { blockBreaks?: number; dropChance?: number; power: number; range?: number; smelt?: boolean }
optionalblockBreaks: number
optionaldropChance: number
power: number
optionalrange: number
optionalsmelt: boolean
Returns void
updateAll
Returns void