IEnumerator DrawScreen(RoomRenderer roomRenderer, RoomData roomData) { while (state == GameState.Playing || state == GameState.MoveToNextCavern) { roomRenderer.DrawScreen(roomData, minerWilly, mobs, string.Format(ScoreFormat, hiScore, score)); yield return(null); } }
IEnumerator DrawScreen(RoomRenderer roomRenderer, RoomData roomData) { while (state == GameState.Playing || state == GameState.MoveToNextCavern) { roomRenderer.DrawScreen(); yield return(null); } }
IEnumerator DrawTheScreen(RoomRenderer roomRenderer) { while (true) { roomRenderer.DrawScreen(); yield return(null); } }
IEnumerator DrawTheScreen(RoomRenderer roomRenderer) { //throw new NotImplementedException(); while (true) { roomRenderer.DrawScreen(); yield return(null); } }
IEnumerator DrawScreen(RoomRenderer renderer, RoomData data) { while (state == GameState.Playing || state == GameState.MoveToNextCavern) { //string scoreInfo = string.Format(ScoreFormat, hiScore, score); //renderer.DrawScreen(data, scoreInfo); //renderer.DrawScreen(data, minerWilly, mobs, scoreInfo); renderer.DrawScreen(); yield return(null); } }