public virtual void Update(IEntityUpdate update)
 {
     this.Flags |= update.Flags;
 }
Beispiel #2
0
        public virtual void Update(IEntityUpdate update)
        {
            m_flags |= update.Flags;

            // Use the older of the updates as the updateTime
            if (Util.EnvironmentTickCountCompare(UpdateTime, update.UpdateTime) > 0)
                m_updateTime = update.UpdateTime;
        }
Beispiel #3
0
        public virtual void Update(IEntityUpdate update)
        {
            m_flags |= update.Flags;

            // Use the older of the updates as the updateTime
            if (UpdateTime - update.UpdateTime > 0)
                m_updateTime = update.UpdateTime;
        }