/**
 * Copyright (c) 2012, Lucas Beau
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy 
 * of this software and associated documentation files (the "Software"), to deal 
 * in the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
 * of the Software, and to permit persons to whom the Software is furnished to do
 * so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in 
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
 * THE SOFTWARE.
 */
package org.trident.rs2.model;

/**
 * The Update Flags used by both {@link Player} & {@link Mob}
 * @author Ares_
 *
 */
public final class UpdateFlags {

	
}

@@ -1150,16 +1150,42 @@
 model;%0A%0A
+import java.util.BitSet;%0A%0A
 /**%0A * T
@@ -1304,8 +1304,1006 @@
  %7B%0A%0A
+%09/**%0A%09 * The %7B@link BitSet%7D of %7B@link UpdateFlags%7D.%0A%09 */%0A%09private final BitSet flags = new BitSet();%0A%09%0A%09/**%0A%09 * An enumeration of the update flags%0A%09 * @author Ares_%0A%09 *%0A%09 */%0A%09public static enum UpdateFlag %7B%0A%09%09%0A%09%09/**%0A%09%09 * Appearance update.%0A%09%09 */%0A%09%09APPEARANCE,%0A%0A%09%09/**%0A%09%09 * Chat update.%0A%09%09 */%0A%09%09CHAT,%0A%0A%09%09/**%0A%09%09 * Graphics update.%0A%09%09 */%0A%09%09GRAPHICS,%0A%0A%09%09/**%0A%09%09 * Animation update.%0A%09%09 */%0A%09%09ANIMATION,%0A%0A%09%09/**%0A%09%09 * Forced chat update.%0A%09%09 */%0A%09%09FORCED_CHAT,%0A%0A%09%09/**%0A%09%09 * Interacting actor update.%0A%09%09 */%0A%09%09FACE_ACTOR,%0A%0A%09%09/**%0A%09%09 * Face coordinate actor update.%0A%09%09 */%0A%09%09FACE_COORDINATE,%0A%0A%09%09/**%0A%09%09 * Hit update.%0A%09%09 */%0A%09%09HIT,%0A%0A%09%09/**%0A%09%09 * Hit 2 update/%0A%09%09 */%0A%09%09HIT_2,%0A%0A%09%09/**%0A%09%09 * Update flag used to transform npc to another.%0A%09%09 */%0A%09%09TRANSFORM,%0A%0A%09%09/**%0A%09%09 * Forces the player to walk from a given coordinate to a given coordinate.%0A%09%09 */%0A%09%09FORCE_WALK%0A%09%09%0A%09%7D%0A%0A%09/**%0A%09 * We check if an update is required or not%0A%09 * @return If the update is required%0A%09 */%0A%09public boolean isUpdateRequired() %7B%0A%09%09return !flags.isEmpty();%0A%09%7D%0A
 %09%0A%7D
-%0A

Update to the updateflags