public void addBullet(Bullet p) { fireSound.Play(0.2f, 0.0f, 0.0f); p.setTextures(bulletTex, explosionTex); // set preloaded textures bullets.Add(p); }
public void addBullet(Bullet p) { fireSound.Play(0.2f, 0.0f, 0.0f); p.setTextures(bulletTex, explosionTex); // set preloaded textures bullets.Add(p); }