public void createBullet(int posX, int posY, Vector2 velocity) { Bullet b = new Bullet(context, new Vector2(posX, posY), velocity); addEntity(200, b, b.id); StateChange sc = StateChangeFactory.createEntityStateChange(b.id, posX, posY, Bullet.frameWidth, b.GetFrameTime(), Bullet.textureName, b.scale, 200); changes.Add(sc); }