Example #1
0
 public override void UIDraw()
 {
     if (Visible)
     {
         hitboxesUI.Draw(Main.spriteBatch);
     }
 }
Example #2
0
 //internal override void ScreenResolutionChanged()
 //{
 //	userInterface.Recalculate();
 //}
 //internal override void UIUpdate()
 //{
 //	if (visible)
 //	{
 //		userInterface.Update(Main._drawInterfaceGameTime);
 //	}
 //}
 internal override void UIDraw()
 {
     if (visible)
     {
         hitboxesUI.Draw(Main.spriteBatch);
     }
 }
Example #3
0
 //internal override void ScreenResolutionChanged()
 //{
 //	userInterface.Recalculate();
 //}
 //internal override void UIUpdate()
 //{
 //	if (visible)
 //	{
 //		userInterface.Update(Main._drawInterfaceGameTime);
 //	}
 //}
 internal override void UIDraw()
 {
     if (visible)
     {
         hitboxesUI.Draw(Main.spriteBatch);
         if (showPlayerMeleeHitboxes)
         {
             drawPlayerMeleeHitboxes();
         }
         if (showNPCHitboxes)
         {
             drawNPCHitboxes();
         }
         if (showProjectileHitboxes)
         {
             drawProjectileHitboxes();
         }
         if (showTEPositions)
         {
             drawTileEntityPositions();
         }
     }
 }