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() }); }
void Swap() { Active.Release(); Active = Inactive; IsHolding = false; }