public void draw(SpriteBatchWrapper sprites, GraphicsDevice device) { if (this.exit) return; //this.textures.drawAsBackground(this.backgroundTexture, sprites); this.background.draw(sprites); if (null != this.currentSequence && this.currentSequence.isEnemyShown(this.song.timeRunningInMeasures)) { this.enemy.draw(sprites); } else { this.player.draw(sprites); } sprites.drawDebugText(this.progress.errorInLastSequence, "Missed:", this.missed, "Wrong:", this.wrong); /*sprites.drawDebugText( "Measures: ", this.song.timeRunningInMeasures, "Current Seq: ", this.currentSequence, "Last Move:", this.lastMove, "\n\rScore: ", this.progress.score);*/ sprites.drawTextAt( "Score: " + this.progress.score, -225, 15, 1.05f, Color.Black, "hud/ingametext", SpriteBatchWrapper.Direction.CENTER); sprites.drawTextAt( "Score: " + this.progress.score, -225, 15, 1.0f, Color.Orange, "hud/ingametext", SpriteBatchWrapper.Direction.CENTER); this.ui.draw(sprites); }