public InterfaceHandler(CombatScreen screen) { this.screen = screen; moveButton = screen.DataMaster.InterfaceBar.MoveButton; attackButton = screen.DataMaster.InterfaceBar.AttackButton; }
public InterfaceBar() { Size = new Vector2f(800, 4 * 32); Position = new Vector2f(0, 640 - 32 * 4); FillColor = new Color(127, 127, 127); UnitPictureBox = new UnitPictureBox(); HealthBar = new HealthBar(); MoveButton = new MoveButton(); AttackButton = new AttackButton(); }
public MoveButtonRenderer(MoveButton data) : base(data) { }