public class DeployableProjectileShooterComponent implements Component
Component for tracking deployableprojectileshooter state. Attach this component to entities that need to track deployableprojectileshooter data.
java.lang.Object > DeployableProjectileShooterComponent
Field Summary
activeTarget
protected
Ref
activeTarget
Field activeTarget.
Method Detail
DeployableProjectileShooterComponent
public
public
DeployableProjectileShooterComponent
()
Method DeployableProjectileShooterComponent.
getComponentType
public
DeployableProjectileShooterComponent>
getComponentType
()
Method getComponentType.
spawnProjectile
public
void
spawnProjectile
(final Ref entityRef, @Nonnull final CommandBuffer commandBuffer, @Nonnull final ProjectileConfig projectileConfig, @Nonnull final UUID ownerUuid, @Nonnull final Vector3d spawnPos, @Nonnull final Vector3d direction)
Method spawnProjectile.
- Parameters:
final RefentityRef@Nonnull final CommandBuffercommandBuffer@Nonnull final ProjectileConfigprojectileConfig@Nonnull final UUIDownerUuid@Nonnull final Vector3dspawnPos@Nonnull final Vector3ddirection