public UIElement(UIManager m) { Manager = m; }
public HudModelElement(UIManager manager, string path, float x, float y, float scaleX, float scaleY) : base(manager) { UIScale = new Vector2(scaleX, scaleY); UIPosition = new Vector2(x, y); drawable = manager.Game.ResourceManager.GetDrawable(manager.Game.GameData.ResolveDataPath("INTERFACE/HUD/" + path)); }