Ejemplo n.º 1
0
 // this calls the constructor of the parent class
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="mSceneMgr">A reference of a scene manager</param>
 /// <param name="playerStats">A reference to a character stats</param>
 public GameInterface(SceneManager mSceneMgr, 
     RenderWindow mWindow, CharacterStats playerStats)
     : base(mSceneMgr, mWindow, playerStats)
 {
     Load("GameInterface");
 }
Ejemplo n.º 2
0
 public GameInterface(SceneManager mSceneMgr, RenderWindow mWindow, CharacterStats playerStats)
     : base(mSceneMgr, mWindow, playerStats)
 {
     Load("GameInterface");
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="mSceneMgr">A reference of a scene manager</param>
 /// <param name="playerStats">A reference to a character stats</param>
 public GameInterface(SceneManager mSceneMgr,
                      RenderWindow mWindow, CharacterStats playerStats)
     : base(mSceneMgr, mWindow, playerStats)  // this calls the constructor of the parent class
 {
     Load("GameInterface");
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Protected constructor
 /// </summary>
 /// <param name="mSceneMgr">A reference to the scene manager</param>
 /// <param name="characterStat">A reference to a character stat</param>
 protected HMD(SceneManager mSceneMgr, RenderWindow mWindow, CharacterStats characterStat)
 {
     this.mWindow        = mWindow;
     this.mSceneMgr      = mSceneMgr;
     this.characterStats = characterStat;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Protected constructor
 /// </summary>
 /// <param name="mSceneMgr">A reference to the scene manager</param>
 /// <param name="characterStat">A reference to a character stat</param>
 protected HMD(SceneManager mSceneMgr, RenderWindow mWindow, CharacterStats characterStat)
 {
     this.mWindow = mWindow;
     this.mSceneMgr = mSceneMgr;
     this.characterStats = characterStat;
 }