예제 #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();
        }
예제 #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();
        }
예제 #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?
        }