public LevelSelectionScreen(Scenario scenario) { background = GameResources.Content.Load<Texture2D>("Sprites/UI/background"); Texture2D[] buttonTextures = {GameResources.Content.Load<Texture2D>("Sprites/UI/Menu/shortLocked"), GameResources.Content.Load<Texture2D>("Sprites/UI/Menu/shortUnlocked") }; wrapPanel = new WrapPanel() { ButtonTexture = GameResources.Content.Load<Texture2D>("Sprites/UI/Menu/shortButtonBackground"), Font = GameResources.Content.Load<SpriteFont>("Fonts/forque"), Origin = Vector2.Zero, Position = Vector2.Zero }; wrapPanel.Init(1, 10, buttonTextures, 100, 100); }