public PanelMenu(Screen parent, Vector2 position, Texture2D texture, Player player) : base(parent, position, texture) { showInfoWindow = new ShowInfo(parent, new Vector2(MainGame.ScreenX - 200, 5), TexturesManager.Window, player); infoPlayerButton = new Button(position, TexturesManager.InfoButton); infoPlayerButton.MouseClick += OnInfoPlayerMouseClick; }
public PanelMenu(Screen parent, Vector2 position, Texture2D texture,Player player) : base(parent, position, texture) { showInfoWindow = new ShowInfo(parent, new Vector2(MainGame.ScreenX - 200, 5), TexturesManager.Window ,player); infoPlayerButton = new Button(position, TexturesManager.InfoButton); infoPlayerButton.MouseClick += OnInfoPlayerMouseClick; }