diff options
| author | Michael <[email protected]> | 2017-07-02 08:45:23 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-07-02 08:45:23 -0400 |
| commit | 9578be099814924870bcb25b1fe4f8a2d375f3b9 (patch) | |
| tree | c367afe08675f5198c577da8cd58a994f8535078 /ShiftOS.WinForms/Applications | |
| parent | 46e73195afe6e161ddb75b05ec5f6fe64cb093af (diff) | |
| download | shiftos_thereturn-9578be099814924870bcb25b1fe4f8a2d375f3b9.tar.gz shiftos_thereturn-9578be099814924870bcb25b1fe4f8a2d375f3b9.tar.bz2 shiftos_thereturn-9578be099814924870bcb25b1fe4f8a2d375f3b9.zip | |
Pong ball is centered on levelcomplete
Diffstat (limited to 'ShiftOS.WinForms/Applications')
| -rw-r--r-- | ShiftOS.WinForms/Applications/Pong.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/Applications/Pong.cs b/ShiftOS.WinForms/Applications/Pong.cs index 2f309f3..e569af4 100644 --- a/ShiftOS.WinForms/Applications/Pong.cs +++ b/ShiftOS.WinForms/Applications/Pong.cs @@ -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(); |
