diff options
| author | william341 <[email protected]> | 2017-06-24 10:53:22 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-06-24 10:53:22 -0700 |
| commit | bae34710cf86240b2744196c4b95e569fb161c90 (patch) | |
| tree | d5ff99e5cc8f3db8a9236b247886866601b915b9 /ShiftOS.WinForms/Applications/Pong.cs | |
| parent | b4b19e7a4d203b58537f5b98214296ab52c49b2d (diff) | |
| parent | 1661f9a5bd46dbd7d2586787c55bfc407c027629 (diff) | |
| download | shiftos_thereturn-bae34710cf86240b2744196c4b95e569fb161c90.tar.gz shiftos_thereturn-bae34710cf86240b2744196c4b95e569fb161c90.tar.bz2 shiftos_thereturn-bae34710cf86240b2744196c4b95e569fb161c90.zip | |
Merge pull request #5 from shiftos-game/master
merge
Diffstat (limited to 'ShiftOS.WinForms/Applications/Pong.cs')
| -rw-r--r-- | ShiftOS.WinForms/Applications/Pong.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/Pong.cs b/ShiftOS.WinForms/Applications/Pong.cs index 5b60fbd..2f309f3 100644 --- a/ShiftOS.WinForms/Applications/Pong.cs +++ b/ShiftOS.WinForms/Applications/Pong.cs @@ -304,7 +304,7 @@ namespace ShiftOS.WinForms.Applications doAi = true; } - private bool drawAiBall = true; + private bool drawAiBall = false; private void pnlcanvas_Paint(object sender, PaintEventArgs e) { @@ -402,6 +402,7 @@ namespace ShiftOS.WinForms.Applications public void OnLoad() { + pnlgamestart.CenterParent(); doAi = false; doBallCalc = false; pnlgamestart.Show(); |
