コード例 #1
0
 public TestLevel()
 {
     GameObjects = new Collection <IGameObject>();
     Physics     = new StandardPhysics();
     SoundManager.Instance.PlaySong("brinstarLevel");
     CurrentWorldState = WorldUtil.WorldState.Paused;
 }
コード例 #2
0
 public MultiplayerBrinstar(int numPlayers, PlayerSpriteFactory.PlayerColorScheme[] schemes)
 {
     GameObjects = new Collection <IGameObject>();
     Physics     = new StandardPhysics();
     SoundManager.Instance.PlaySong("brinstarLevel");
     CurrentWorldState  = WorldUtil.WorldState.Paused;
     _numPlayers        = numPlayers;
     playerColorSchemes = schemes;
 }
コード例 #3
0
 public CameraFocusTrigger(int width, int height, Vector2 pos, string cameraType, bool rightTransition)
 {
     Position                 = pos;
     BoundingBox              = new Rectangle((int)pos.X, (int)pos.Y, width, height);
     DoCollisions             = true;
     NoOutwardCollisions      = true;
     _rightTransition         = rightTransition;
     _cameraType              = cameraType;
     CollideDuringLesserState = WorldUtil.WorldState.Transitioning;
     UpdateDuringLesserState  = WorldUtil.WorldState.Transitioning;
 }
コード例 #4
0
ファイル: Brinstar.cs プロジェクト: grumbleBee/MetroidRemix
 public Brinstar()
 {
     foreach (IController controller in Game1.Controllers)
     {
         controller.Id = 0;
     }
     GameObjects = new Collection <IGameObject>();
     Physics     = new StandardPhysics();
     SoundManager.Instance.PlaySong("brinstarLevel");
     CurrentWorldState = WorldUtil.WorldState.Paused;
 }
コード例 #5
0
 public void SetWorldState(WorldUtil.WorldState worldState)
 {
     CurrentWorldState = worldState;
 }
コード例 #6
0
 public void SetWorldState(WorldUtil.WorldState worldState)
 {
 }