mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
Pong ball is centered on levelcomplete
This commit is contained in:
parent
46e73195af
commit
9578be0998
1 changed files with 4 additions and 0 deletions
|
@ -246,6 +246,10 @@ namespace ShiftOS.WinForms.Applications
|
|||
doAi = false;
|
||||
doBallCalc = false;
|
||||
counterTimer.Stop();
|
||||
ballX = 0;
|
||||
ballY = 0;
|
||||
aiBallX = 0;
|
||||
aiBallY = 0;
|
||||
pnllevelwon.CenterParent();
|
||||
pnllevelwon.Show();
|
||||
pnllevelwon.BringToFront();
|
||||
|
|
Loading…
Reference in a new issue