Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }