Exemplo n.º 1
0
        private XMLWriter _xmlOut; // Used to write XML

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Default constructor, it's pretty good with a bowstaff...
        /// </summary>
        public GBaseHandler()
        {
            _xmlOut = new XMLWriter();          // Instantiate stuff
            _xmlIn = new XMLReader();
            _evalXML = new GBaseXMLEvaluator();
            _brain = new GBaseBrain();
            _output = new GBaseOutputHandler();
        }
Exemplo n.º 2
0
        private XMLReader _xmlIn; // Used to read XML

        #endregion Fields

        #region Constructors

        /// <summary>
        /// The default constructor... It's got some skills.
        /// </summary>
        public GBaseBrain()
        {
            ////xmlOut = new XMLWriter();          // Instantiate stuff
            _xmlIn = new XMLReader();
            //_evalXML = new GBaseXMLEvaluator();
        }
Exemplo n.º 3
0
        private XMLReader _xmlIn; // Will read from an XML file

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Writes out to an XML file... Like an intern.
        /// </summary>
        public XMLWriter()
        {
            _xmlIn = new XMLReader();       // Instantantiate XML reader
            _indentation = 0;               // Indentation starts at 0, dontchya know?
        }