Ejemplo n.º 1
0
 public UIElement(UIManager m)
 {
     Manager = m;
 }
Ejemplo n.º 2
0
 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));
 }