コード例 #1
0
ファイル: Bot.cs プロジェクト: Flutterish/Hitokori
        public Bot()
        {
            Active = Left = new BotButton();
            Right  = new BotButton();

            Height = 130;
            Width  = 130;

            AddRangeInternal(new Drawable[] {
                Texture = new Sprite {
                    RelativeSizeAxes = Axes.Both,
                    FillMode         = FillMode.Fill
                }.Center()
            });
        }
コード例 #2
0
ファイル: Bot.cs プロジェクト: Flutterish/Hitokori
 void Swap()
 {
     Active.Release();
     Active    = Inactive;
     IsHolding = false;
 }