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

            Change = change;

            Rotation = CurrentGame.Random.Next(-3, 3) / 100.0f;
            Scale = Vector2.One;
        }
예제 #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;
        }
예제 #3
0
        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;
        }