WarTornLands.Infrastructure.InventoryDrawer.Draw C# (CSharp) Method

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void
        public void Draw(GameTime gameTime)
        {
            _itemCross.Draw();

            // Debug
            _inventory.HasPotionbag = true;
            _inventory.HasTelekinesis  = true;
            _inventory.HasIceHammer = true;
            _inventory.HasGun = true;

            if (_inventory.HasPotionbag) _potionBag.Draw();
            if (_inventory.HasTelekinesis) _telekinesis.Draw();
            if (_inventory.HasIceHammer) _iceHammer.Draw();
            if (_inventory.HasGun) _gun.Draw();

            _selector.Draw();
        }