Exemplo n.º 1
0
			internal HudElement() {
				this.Subject = null;
				this.Position.X = 0.0f;
				this.Position.Y = 0.0f;
				this.Alignment.X = -1;
				this.Alignment.Y = -1;
				this.BackgroundColor = new Color32(255, 255, 255, 255);
				this.OverlayColor = new Color32(255, 255, 255, 255);
				this.TextColor = new Color32(255, 255, 255, 255);
				this.TextPosition.X = 0.0f;
				this.TextPosition.Y = 0.0f;
				this.TextAlignment.X = -1;
				this.TextAlignment.Y = 0;
				this.Font = Fonts.VerySmallFont;
				this.TextShadow = true;
				this.Text = null;
				this.Value1 = 0.0f;
				this.Value2 = 0.0f;
				this.Transition = HudTransition.None;
				this.TransitionState = 1.0;
			}
Exemplo n.º 2
0
 internal HudElement()
 {
     this.Subject         = null;
     this.Position.X      = 0.0f;
     this.Position.Y      = 0.0f;
     this.Alignment.X     = -1;
     this.Alignment.Y     = -1;
     this.BackgroundColor = new Color32(255, 255, 255, 255);
     this.OverlayColor    = new Color32(255, 255, 255, 255);
     this.TextColor       = new Color32(255, 255, 255, 255);
     this.TextPosition.X  = 0.0f;
     this.TextPosition.Y  = 0.0f;
     this.TextAlignment.X = -1;
     this.TextAlignment.Y = 0;
     this.Font            = Fonts.VerySmallFont;
     this.TextShadow      = true;
     this.Text            = null;
     this.Value1          = 0.0f;
     this.Value2          = 0.0f;
     this.Transition      = HudTransition.None;
     this.TransitionState = 1.0;
 }