public Projectile(Vector2 position, TextureMap map, Vector2 vel, PROJECTILE_MASK mask) : base(position, map, ENTITY_TYPE.PROJECTILE) { Mask = mask; mInitPosition = position; mVelocity = vel; mLife = 150; }
public Projectile(Vector2 position, TextureMap map, int life, PROJECTILE_MASK mask) : base(position, map, ENTITY_TYPE.PROJECTILE) { Mask = mask; mInitPosition = position; mVelocity = Constants.DEFAULT_PROJECTILE_VELOCITY; mLife = life; }