Пример #1
0
        public RaceModule(HeroInfo info)
        {
            mHeroInfo = info;

            mRaceMod = new PropGroup <int>(RecalcRaceMod);//, "RaceMod");
            mHeroInfo.AddBasePropRelation(mRaceMod);
        }
Пример #2
0
        public BasePointModule(HeroInfo info)
        {
            mHeroInfo   = info;
            mBasePoints = new PropGroup <int>(null);//, "Base");

            info.AddBasePropRelation(mBasePoints);
        }