Example #1
0
        public AlterButton(int change)
        {
            Text = new StaticText("DebugFont", ""+change);

            Change = change;

            Rotation = CurrentGame.Random.Next(-3, 3) / 100.0f;
            Scale = Vector2.One;
        }
Example #2
0
        public DemoButton(string text, string sceneName)
        {
            Text = new StaticText("DebugFont", text);

            SceneName = sceneName;

            Rotation = CurrentGame.Random.Next(-3, 3)/100.0f;
            Scale = Vector2.One;
        }
        public GameGuiButton(string text, Action<GameGuiButton> clicked)
        {
            Text = new StaticText("DebugFont", text);

            Clicked = clicked;

            Rotation = CurrentGame.Random.Next(-3, 3) / 100.0f;
            Scale = Vector2.One;
        }