示例#1
0
        public override void Draw(Graphics gfx)
        {
            foreach (GameObstacle obs in gameObstacles)
            {
                obs.Draw(gfx);
            }

            // Draw Player Sprite
            playerSprite.Draw(gfx);
            gameText.DrawText(gfx, score.ToString(), 32, Color.White, GameText.TextAlignment.TopCenter);
        }