public SelectedUnitInfo(InterfaceElement parent) { this.parent = parent; this.Width=140; this.Height =80; this.X = 500; this.Y = 400; Name = new Base(this); Name.X = 500; Name.Y = 400; Name.Width=140; Name.Height =32; Name.Text ="NAME"; Hp = new Base(this); Hp.X = 500; Hp.Y = 433; Hp.Width=140; Hp.Height =32; Hp.Text = "Health:"; Actions = new Base(this); Actions.X = 500; Actions.Y = 464; Actions.Width=140; Actions.Height =32; Actions.Text = "Actions:"; this.children.Add(Name); this.children.Add(Hp); this.children.Add(Actions); }
public PartyCompositor(InterfaceElement parent) { }
public Base(InterfaceElement parent) { this.parent = parent; }