Index: test.d ================================================================== --- test.d +++ test.d @@ -181,11 +181,11 @@ this(Map m) { noMessageFilter(); this.m = m; - this.text = "Dark Integers"; + this.text = .text("Score: ", score, " air[",m.water_proof-m.underwater,"]"); this.keyDown ~= &myKey; this.score = 0; } override void onResize(EventArgs ev) { invalidate(); @@ -264,15 +264,15 @@ if(m.cleared) { writeln(); writeln("Score: ", score); Application.exit(); } - this.text = .text("Score: ", score); + this.text = .text("Score: ", score, " air[",m.water_proof-m.underwater,"]"); invalidate(); } } void main(string[] args) { Form myForm = new MyForm(new Map(File(args[1]))); Application.run(myForm); }