Permalink
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (13 sloc) 384 Bytes
package com.furusystems.barrage.instancing;
import nape.geom.Vec2;
/**
* ...
* @author Andreas Rønning
*/
interface IBulletEmitter extends IOrigin
{
function emit(x:Float, y:Float, angleRad:Float, speed:Float, acceleration:Float, delta:Float):IBullet;
function getAngleToEmitter(pos:Vec2):Float;
function getAngleToPlayer(pos:Vec2):Float;
function kill(bullet:IBullet):Void;
}