feat: add debug information

pull/222/head
Jochum van der Ploeg 3 years ago
parent 71dba0881e
commit ef3fed71d9
No known key found for this signature in database
GPG Key ID: E961B7B51589CA09

@ -195,7 +195,7 @@ class _DebugGameBallsController extends _GameBallsController {
} }
class _DebugInformation extends Component with HasGameRef<DebugPinballGame> { class _DebugInformation extends Component with HasGameRef<DebugPinballGame> {
_DebugInformation() : super(priority: 0x7fffffff); _DebugInformation() : super(priority: RenderPriority.debugInfo);
@override @override
PositionType get positionType => PositionType.widget; PositionType get positionType => PositionType.widget;

@ -113,4 +113,7 @@ abstract class RenderPriority {
// Score Text // Score Text
static const int scoreText = _above + spaceshipRampForegroundRailing; static const int scoreText = _above + spaceshipRampForegroundRailing;
// Debug information
static const int debugInfo = _above + scoreText;
} }

Loading…
Cancel
Save