using XGame.Framework.Interfaces; namespace XGame.Framework.Map { /// /// 带Update的EntityView /// public abstract class EntityViewUpdate : EntityView, IUpdate, ILateUpdate where TViewModel : class, IEntityViewModel { void IUpdate.Update(int millisecond) { if (Active) { Group.Update(millisecond); } } void ILateUpdate.LateUpdate(int millisecond) { if (Active) { Group.LateUpdate(millisecond); } } } }