public ImageButton ( Microsoft.Xna.Framework.Graphics.Texture2D thumbnail, Vector2 pos, String mapName ) : System | ||
thumbnail | Microsoft.Xna.Framework.Graphics.Texture2D | |
pos | Vector2 | |
mapName | String | |
return | 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;
}
ImageButton::ImageButton ( Microsoft.Xna.Framework.Graphics.Texture2D thumbnail, Vector2 pos, String mapName, Microsoft.Xna.Framework.Graphics.Texture2D selectOverlays ) : System |