예제 #1
0
        public InterfaceHandler(CombatScreen screen)
        {
            this.screen = screen;

            moveButton = screen.DataMaster.InterfaceBar.MoveButton;
            attackButton = screen.DataMaster.InterfaceBar.AttackButton;
        }
예제 #2
0
        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();
        }
예제 #3
0
 public MoveButtonRenderer(MoveButton data)
     : base(data)
 {
 }