Example #1
0
 public void GetViewPort(Viewport viewPort)
 {
     Collision_Manager.GetViewPort(viewPort);
     Asteroid_Manager.GetViewPort(viewPort);
     Ship_Manager.GetViewPort(viewPort);
     Projectile_Manager.GetViewPort(viewPort);
 }
 //--------------------------------------------------------------------
 // ● 初期化
 //--------------------------------------------------------------------
 void Start()
 {
     if (manager == null)
     {
         manager = transform.root.GetComponent <Collision_Manager>();
     }
 }
Example #3
0
        public void UpdateGameScreen(GameTime gameTime, bool otherScreenHasFocus)
        {
            if (otherScreenHasFocus)
            {
                return;
            }

            Collision_Manager.Update(gameTime);
            Asteroid_Manager.Update(gameTime);
            Ship_Manager.Update(gameTime);
            Projectile_Manager.Update(gameTime);
            PowerUp_Manager.Update(gameTime);
            Explosions.Update(gameTime);
            GameOver_Manager.Update(gameTime);
        }