//: base(graphicsDevice, content, texture, billboardSize, startPosition, endPosition, laserColor, laserBlendState) public LaserBillboardBullet(IFF id, GraphicsDevice graphicsDevice, ContentManager content, Drawable user, Drawable target, Vector3 direction, float speed, Texture2D texture, Color laserColor, BlendState laserBlendState, Vector2 billboardSize, int mode) : base(id, user.Position, direction, speed) { MAX_DISTANCE = 2000; IsActive = true; Direction.Normalize(); this.Mode = mode; this.User = user; this.Target = target; //laserRenderer = new LaserBillboard(graphicsDevice, content, texture, billboardSize, startPosition, endPosition); laserRenderer = new LaserBillboard(graphicsDevice, content, texture, billboardSize, user.Position, target.Position, Color.White, BlendState.Additive, 1); }
public override bool IsHitWith(Drawable d) { return base.IsHitWith(d); }
public virtual bool IsHitWith(Drawable d) { return false; }