diff options
| author | Ben Beltran <ben@nsovocal.com> | 2018-06-26 17:03:58 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2018-06-26 17:03:58 -0500 |
| commit | 9ad526c0233134a928cb5889dccb94458fc6dfd0 (patch) | |
| tree | fa2282abbde8735b801125bb18294c7ec1847a92 /SuperPolarity/GameScreen.cs | |
| parent | ae4f458103f5bfa44c833a147e7852e23cc02217 (diff) | |
Update source to compile on VS Studio for mac
Diffstat (limited to 'SuperPolarity/GameScreen.cs')
| -rw-r--r-- | SuperPolarity/GameScreen.cs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/SuperPolarity/GameScreen.cs b/SuperPolarity/GameScreen.cs index 783e3c1..3fe9c92 100644 --- a/SuperPolarity/GameScreen.cs +++ b/SuperPolarity/GameScreen.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -10,6 +10,9 @@ using Microsoft.Xna.Framework.Input; namespace SuperPolarity { + + using MediaPlayer = Microsoft.Xna.Framework.Media.MediaPlayer; + class GameScreen : Screen { public GameScreen(SuperPolarity newGame) : base(newGame) {} @@ -33,15 +36,15 @@ namespace SuperPolarity Generators = new List<BasicGenerator>(); CurrentBombRate = 1; - BombRate = 6000; + BombRate = 10000; - LivesRate = 10000; + LivesRate = 19000; CurrentLivesRate = 1; - InputController.RegisterEventForButton("changePolarity", Buttons.A); + InputController.RegisterEventForButton("changePolarity", Buttons.B); InputController.RegisterEventForKey("changePolarity", Keys.Z); - InputController.RegisterEventForButton("shoot", Buttons.X); + InputController.RegisterEventForButton("shoot", Buttons.A); InputController.RegisterEventForKey("shoot", Keys.X); InputController.Bind("pause", HandlePause); |