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); }
public override bool UpDate(float fTime) { foreach (AFIDENTID id in mhtObject.Keys) { AFIObject xGameObject = (AFIObject)mhtObject[id]; xGameObject.GetHeartBeatManager().Update(fTime); } return(true); }