/// <summary> /// This class set up the initial values for each player stat /// </summary> protected override void InitStats() { base.InitStats(); score = new Score(); score.InitValue(0); health.InitValue(100); shield.InitValue(100); lives.InitValue(3); }
protected Gem(SceneManager mSceneMgr, Stat score) { this.mSceneMgr = mSceneMgr; this.score = score; }
/// <summary> /// This method initializes the stats objects, initial values are to be set in derived classes /// </summary> protected virtual void InitStats() { lives = new Stat(); health = new Stat(); shield = new Stat(); }