Blink.GUI.ImageButton.ImageButton C# (CSharp) Метод

ImageButton() публичный Метод

public ImageButton ( Microsoft.Xna.Framework.Graphics.Texture2D thumbnail, Vector2 pos, String mapName ) : System
thumbnail Microsoft.Xna.Framework.Graphics.Texture2D
pos Vector2
mapName String
Результат System
        public ImageButton(Texture2D thumbnail, Vector2 pos, String mapName)
        {
            this.thumb = thumbnail;
            this.position = new Rectangle((int)pos.X, (int)pos.Y, (int)THUMB_SIZE.X, (int)THUMB_SIZE.Y);
            this.name = mapName;
        }

Same methods

ImageButton::ImageButton ( Microsoft.Xna.Framework.Graphics.Texture2D thumbnail, Vector2 pos, String mapName, Microsoft.Xna.Framework.Graphics.Texture2D selectOverlays ) : System