public override void Draw(GameTime gameTime)
 {
     GameRef.SpriteBatch.Begin();
     base.Draw(gameTime);
     ControlManager.Draw(GameRef.SpriteBatch);
     BubbleManager.Draw(GameRef.SpriteBatch);
     GameRef.SpriteBatch.End();
 }
Beispiel #2
0
 public override void Draw(GameTime gameTime)
 {
     GameRef.SpriteBatch.Begin();
     base.Draw(gameTime);
     ControlManager.Draw(GameRef.SpriteBatch);
     BubbleManager.Draw(GameRef.SpriteBatch);
     GameRef.SpriteBatch.DrawString(smallFont, "Fish eaten: " + player.fishEaten.ToString(), new Vector2(30, 30), Color.White);
     GameRef.SpriteBatch.End();
     player.Draw(GameRef.SpriteBatch);
     EnemyManager.Draw(GameRef.SpriteBatch);
 }
Beispiel #3
0
        public void Draw(GameTime gameTime)
        {
            BasicBackGroundEngine.Draw(gameTime);
            //CatchableRopeManagerEngine.Draw(gameTime);
            if (RyseAgent.WithWalls)
            {
                PlanesManagerEngine.Draw(gameTime);
            }

            BlowerManagerEngine.Draw(gameTime);
            BubbleManagerEngine.Draw(gameTime);
            RocketsCarrierManagerEngine.Draw(gameTime);
            RocketsManagerEngine.Draw(gameTime);
            RopeOfRodsManagerEngine.Draw(gameTime);
            SpringsManagerEngine.Draw(gameTime);
            TileSpringServiceManagerEngine.Draw(gameTime);
            RigidsManagerEngine.Draw(gameTime);
            NotificationManagerEngine.Draw(gameTime);
            PrefCompsManager.Draw(gameTime);

            if (StaticData.IsEntraActivated)
            {
                EntraManager.Draw(gameTime);
            }

            if (StaticData.IsEntraPathActivated)
            {
                EntraPathManager.Draw(gameTime);
            }

            if (StaticData.IsWater)
            {
                LiquidServiceEngine.Draw(gameTime);
            }
            if (StaticData.ManipulationGameMode == ManipulationGameMode.ResizeRigidMode)
            {
                ResizeManagerEngine.Draw(gameTime);
            }

            if (ActionsExecuterGenSim.ActionsNotifManager != null &&
                ActionsExecuterGenSim.ActionsNotifManager.Notifications.Count() != 0)
            {
                ActionsExecuterGenSim.ActionsNotifManager.Draw(gameTime);
            }
        }