コード例 #1
0
ファイル: MenuItem.cs プロジェクト: eri-cake/bomberman-2
        public MenuItem(Menu parent)
        {
            this.parent = parent;

            Text = "";          // no text
            Color = Color.LightGreen;
            ActiveColor = Color.Green;
            Position = Vector2.Zero;
        }
コード例 #2
0
ファイル: NumericButton.cs プロジェクト: eri-cake/bomberman-2
 public NumericButton(Menu parent, string text)
     : base(parent)
 {
     this.Text = text;
 }
コード例 #3
0
ファイル: Button.cs プロジェクト: eri-cake/bomberman-2
 public Button(Menu parent, Action action, string text)
     : base(parent)
 {
     call = action;
     this.Text = text;
 }