Ejemplo n.º 1
0
        public override bool AddHeartBeat(AFIDENTID self, string strHeartBeatName, AFIHeartBeat.HeartBeatEventHandler handler, float fTime, AFIDataList valueList)
        {
            AFIObject xGameObject = GetObject(self);

            if (null != xGameObject)
            {
                xGameObject.GetHeartBeatManager().AddHeartBeat(strHeartBeatName, fTime, handler, valueList);
            }
            return(true);
        }
Ejemplo n.º 2
0
        public override bool UpDate(float fTime)
        {
            foreach (AFIDENTID id in mhtObject.Keys)
            {
                AFIObject xGameObject = (AFIObject)mhtObject[id];
                xGameObject.GetHeartBeatManager().Update(fTime);
            }

            return(true);
        }