]> git.r.bdr.sh - rbdr/super-polarity/blobdiff - SuperPolarity/GameScreen.cs
Update source to compile on VS Studio for mac
[rbdr/super-polarity] / SuperPolarity / GameScreen.cs
index 783e3c12a61f57dc8a08e24634b32b142d077018..3fe9c92ab45fe19b2f9475187df7e08a04902e08 100644 (file)
@@ -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);