SHARE
TWEET

Untitled

a guest May 22nd, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (keyState.IsKeyDown(Keys.Z))
  2.                 {
  3.                     GameManager.periodTime = 5;
  4.                     GameManager.homeGoals = 3;
  5.                     GameManager.awayGoals = 2;
  6.                     GameManager.period = 3;
  7.                     fGameManager.periodTime = 5;
  8.                     fGameManager.homeGoals = 3;
  9.                     fGameManager.awayGoals = 2;
  10.                     fGameManager.period = 3;
  11.                 }
  12.                 if(keyState.IsKeyDown(Keys.X))
  13.                 {
  14.                     if(fGameManager.hockeyPlayerList.Count >= 5)
  15.                     {
  16.                         (fGameManager.hockeyPlayerList[4] as fGoalie).body.CollidesWith = Category.None;
  17.                         (fGameManager.hockeyPlayerList[5] as fGoalie).body.CollidesWith = Category.None;
  18.                     }
  19.                     if (GameManager.hockeyPlayerList.Count >= 5)
  20.                     {
  21.                         (GameManager.hockeyPlayerList[4] as Goalie).body.CollidesWith = Category.None;
  22.                         (GameManager.hockeyPlayerList[5] as Goalie).body.CollidesWith = Category.None;
  23.                     }
  24.                 }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top