Ejemplo n.º 1
0
        public HelpMenuHandler(IHandler returnTo, string buttonName, GameHandler game = null)
        {
            background = Main.content.Load<Texture2D>((string)Main.Config[buttonName]["background"]);

            returnButton = new MoveButton(returnTo, (JObject)Main.Config[buttonName], true);
            this.game = game;
        }
Ejemplo n.º 2
0
        public HelpMenuHandler(IHandler returnTo, string buttonName, GameHandler game = null)
        {
            background = Main.content.Load <Texture2D>((string)Main.Config[buttonName]["background"]);

            returnButton = new MoveButton(returnTo, (JObject)Main.Config[buttonName], true);
            this.game    = game;
        }