public void LoadContent(Texture2D galaxyViewTextures, Texture2D baseViewTextures, SpriteFont font, Galaxy gal) { detailFont = font; currentGalaxy = gal; selectedSystem = currentGalaxy.Home; galaxyIcons = new IconHandler(galaxyViewTextures, 3, 6); baseIcons = new IconHandler(baseViewTextures, 3, 6); }
public void LoadTexture(Texture2D buttonTex, Texture2D timeLineTex, SpriteFont font) { buttonIcons = new IconHandler(buttonTex, 3, 6); displayIcons = new IconHandler(timeLineTex, 3, 6); timeFont = font; textX = base.Window.X + timeFont.LineSpacing / 2; textY = base.Window.Y + timeFont.LineSpacing / 2; }