Represents the currently queued list of scenes
Ejemplo n.º 1
0
        public Engine(IGame game)
        {
            _internalReference = this;
            _lock = new Object();
            m_Graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
            m_SceneManager = new Graphical.SceneManager();
            m_TrashCompactor = new Tantric.Trash.TrashCompactor();
            m_Interpreter = new Tantric.Scripting.CommandInterpreter();
            m_Game = game;

            Scripting.QuantumLanguage.InitializeLanguage(m_Interpreter);
            m_Interpreter.Evaluate("EntryScript");
        }
Ejemplo n.º 2
0
        public Engine(IGame game)
        {
            _internalReference = this;
            _lock                 = new Object();
            m_Graphics            = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
            m_SceneManager        = new Graphical.SceneManager();
            m_TrashCompactor      = new Tantric.Trash.TrashCompactor();
            m_Interpreter         = new Tantric.Scripting.CommandInterpreter();
            m_Game                = game;

            Scripting.QuantumLanguage.InitializeLanguage(m_Interpreter);
            m_Interpreter.Evaluate("EntryScript");
        }