Candide.CandideUI.UserControls.HealthBar
Type JSONpublic class in Candide.CandideUI.UserControls
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.UserControls - Base type
Candide.CandideUI.CandideUiElement - Hash
0A6AADB49E58485CAFB911E21DA4453DB53B67FAD716C746A04DB73CC9D68727
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
_backgroundSprite# | private | private CandideCreator.Shared.Graphics.SpriteSheet _backgroundSprite |
_futureHealsSprite# | private | private CandideCreator.Shared.Graphics.SpriteSheet _futureHealsSprite |
_healthShadowSprite# | private | private CandideCreator.Shared.Graphics.SpriteSheet _healthShadowSprite |
_healthSprite# | private | private CandideCreator.Shared.Graphics.SpriteSheet _healthSprite |
Methods
DrawBar
#
private System.Void DrawBar(Candide.CandideUI.UiRenderContext context, CandideCreator.Shared.Graphics.SpriteSheet spriteSheet, Microsoft.Xna.Framework.Vector2 position, Microsoft.Xna.Framework.Vector2 offset, System.Single maxValue, System.Single currentValue, System.Single barLength)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
8A0A54EC6B938E20C3EB1D7FEC8170A7064467C13C6ABEDEC6478EF2E5B9AD03 - Body hash
4BEE02153872DDEBD29E79F492EA8C330D13209ED411B1F5D774957A9C707C2F - IL size99
Referenced calls
CandideCreator.Shared.Helpers.CandideMathHelper::From1To0Between(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Candide.CandideUI.CandideUiSystem::get_Scale()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Rectangle::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)System.Nullable<Microsoft.Xna.Framework.Rectangle>::.ctor(!0)Microsoft.Xna.Framework.Vector2::get_One()Candide.CandideUI.UiRenderContext::DrawSprite(CandideCreator.Shared.Graphics.SpriteSheet, System.Nullable<Microsoft.Xna.Framework.Rectangle>, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, System.Single)
InternalDraw
#
protected System.Void InternalDraw(Candide.CandideUI.UiRenderContext context)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
AA4457D30FAB9A159A0CC5376AE1200F6A2719D6E1F61144C8289308443CF8AD - Body hash
53F3F9B4480B3410489B86A104BB147066D6B87C0EFED272D77A3A966F0ACA70 - IL size395
Referenced calls
Candide.CandideUI.CandideUiElement::get_ActualBounds()Microsoft.Xna.Framework.Rectangle::get_Location()Microsoft.Xna.Framework.Point::ToVector2()Microsoft.Xna.Framework.Vector2::get_One()Candide.CandideUI.UiRenderContext::DrawSprite(CandideCreator.Shared.Graphics.SpriteSheet, System.Nullable<Microsoft.Xna.Framework.Rectangle>, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Candide.CandideUI.CandideUiSystem::get_Scale()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Candide.CandideUI.UserControls.HealthBar::DrawBar(Candide.CandideUI.UiRenderContext, CandideCreator.Shared.Graphics.SpriteSheet, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, System.Single, System.Single, System.Single)Candide.CandideUI.CandideUiElement::get_IsHovered()Candide.Graphics.Fonts.CandideFont::get_RenderFont()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.MathF::Ceiling(System.Single)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Candide.CandideUI.CandideUiElement::CalculateScreenPosition()Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Color::get_White()FontStashSharp.SpriteFontBase::DrawText(Microsoft.Xna.Framework.Graphics.SpriteBatch, System.String, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single, Microsoft.Xna.Framework.Vector2, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, System.Single, FontStashSharp.TextStyle, FontStashSharp.FontSystemEffect, System.Int32, System.Int32)
String literals
/
InternalMeasure
#
protected Microsoft.Xna.Framework.Vector2 InternalMeasure(Microsoft.Xna.Framework.Vector2 availableSize)
Method metadata
- Visibilityprotected
- Return type
Microsoft.Xna.Framework.Vector2 - StaticFalse
- VirtualTrue
- Hash
096892C4482395D1A110226C6E194DEEBE3776904DB9A08228FC09F3A8F03FCB - Body hash
2D18D857695F4AE3733A73D62E71177F036F0A37015D199AFBF91C5A3DCEA256 - IL size41
Referenced calls
Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Candide.CandideUI.CandideUiSystem::get_Scale()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
4A78BCE282144201A1AAE24E09C2B28AF6AE9CE81845D1B1437CD83EE2AC158A - Body hash
8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55 - IL size1