public final class LaserHelper
extends java.lang.Object
Constructor and Description |
---|
LaserHelper() |
Modifier and Type | Method and Description |
---|---|
static Particle |
getNewLaserBeamParticle(Particle laserBeam,
Particle existingBeam)
Gets the new particle to use given the laser firing and the existing beam particle
|
static ParticleType |
getParticleFromLaserType(WallType laserType)
Gets the correct particle type from a laser type
|
public static ParticleType getParticleFromLaserType(WallType laserType)
laserType
- The type of laser firingpublic static Particle getNewLaserBeamParticle(Particle laserBeam, Particle existingBeam)
laserBeam
- The laser beam which is firedexistingBeam
- The laser beam which already exists at a tile