Beispiel #1
0
    protected override void AD2Draw(AD2SpriteBatch primarySpriteBatch)
    {
        Level.drawBase(primarySpriteBatch, CamX, 0);
        Player.draw(primarySpriteBatch, CamX);

        foreach (Baddie b in Baddies)
        {
            b.draw(primarySpriteBatch, CamX);
        }

        foreach (Bullet b in Bullets)
        {
            primarySpriteBatch.DrawTexture(Bullet.texture, b.x + -2 + -CamX, b.y + -2);
        }
    }