public LeftSideButton(LocalizedValue text, Vector2 position, Action<LeftSideButton> onClick)
{
_font = GameProvider.GameInstance.Content.Load<SpriteFont>(ResourceNames.Fonts.NormalFont);
_texture = GameProvider.GameInstance.Content.Load<Texture2D>(ResourceNames.Textures.UI.Common.Button_Blank);
Text = text;
var bounds = Bounds;
bounds.X = (int) position.X;
bounds.Y = (int) position.Y;
bounds.Width = 200;
bounds.Height = 38;
Bounds = bounds;
_onClick = onClick;
FocusedAnimation = new UiMultiAnimation(new UiAnimation[]
{
new UiColorAnimation(0.3f, new Color(255, 255, 255), new Color(100, 193, 238)),
new UiOffsetAnimation(0.3f, Vector2.Zero, new Vector2(50,0))
});
}