/// <summary> /// Begins dialogue routine /// </summary> public void Begin() { // Load Art mArt = mContentManager.ApplyTexture(mArtpath); if (mArtpath2 != null) { mArt2 = mContentManager.ApplyTexture(mArtpath2); } // Subscribe to the Space Input Event mInputManager.Sub_Space(OnSpace); // Set the running bool to true mRunning = true; mCurrLine = 0; }
/// <summary> /// Set Texture path /// </summary> /// <param name="_path"> Texture Path</param> public virtual void setVars(string _path, IContent_Manager _cm) { mTexturename = _path; mContentManager = _cm; mTexture = mContentManager.ApplyTexture(mTexturename); mCurrentTextureHeight = mTexture.Height; mCurrentTextureWidth = mTexture.Width; }
/// <summary> /// Apply a new background /// </summary> /// <param name="_newBG"> Content path to the new background </param> public void ChangeBackground(string _newBG) { mBackground = mContentManager.ApplyTexture(_newBG); }