コード例 #1
0
ファイル: InterfaceBar.cs プロジェクト: Cellmon95/WarGames
        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();
        }
コード例 #2
0
 public AttackButtonRenderer(AttackButton data)
     : base(data)
 {
 }