Blink.GUI.Button.Button C# (CSharp) 메소드

Button() 공개 메소드

public Button ( Vector2 pos, Vector2 size, Microsoft.Xna.Framework.Graphics.Texture2D up, Microsoft.Xna.Framework.Graphics.Texture2D down, Vector2 center = default(Vector2) ) : System
pos Vector2
size Vector2
up Microsoft.Xna.Framework.Graphics.Texture2D
down Microsoft.Xna.Framework.Graphics.Texture2D
center Vector2
리턴 System
        public Button(Vector2 pos, Vector2 size, Texture2D up, Texture2D down, Vector2 center = default(Vector2))
        {
            this.up = up;
            this.down = down;
            this.pos = pos;
            this.size = size;
            this.selected = false;
            this.center = center;
        }