clik-engine API
    Preparing search index...

    Class BulletEmitter

    Spawns bullets from an entity pool using configurable patterns. Attach to a weapon/turret/player entity.

    Usage:

    emitter = new BulletEmitter(bulletPool, { type: 'radial', count: 12 });
    entity.addComponent('emitter', emitter);
    emitter.fire(); // or setAutoFire(true)

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    enabled: boolean = true
    entity: Entity

    Methods