invertika_game.Game.Being.updateDerivedAttributes C# (CSharp) Method

updateDerivedAttributes() protected method

protected updateDerivedAttributes ( uint attr ) : void
attr uint
return void
        void updateDerivedAttributes(uint attr)
        {
            //LOG_DEBUG("Being: Updating derived attribute(s) of: " << attr);
            //switch (attr)
            //{
            //case ATTR_MAX_HP:
            //    updateDerivedAttributes(ATTR_HP);
            //case ATTR_HP:
            //    raiseUpdateFlags(UPDATEFLAG_HEALTHCHANGE);
            //    break;
            //case ATTR_MOVE_SPEED_TPS:
            //    if (getAttribute(attr) > 0.0f)
            //        setAttribute(ATTR_MOVE_SPEED_RAW, utils::tpsToRawSpeed(
            //                     getModifiedAttribute(ATTR_MOVE_SPEED_TPS)));
            //    break;
            //default:
            //    // Do nothing
            //    break;
            //}
        }