@@ -0,0 +1,603 @@
+package com.ezardlabs.dethsquare.multiplayer;%0A%0Aimport java.nio.ByteBuffer;%0A%0Apublic class NetworkAnimator extends NetworkBehaviour %7B%0A%0A%09@Override%0A%09protected ByteBuffer onSend() %7B%0A%09%09data.putInt(0, gameObject.animator.getCurrentAnimationId()); // 0 - 3%0A%09%09data.putInt(4, gameObject.animator.getCurrentAnimationFrame()); // 4 - 7%0A%09%09return data;%0A%09%7D%0A%0A%09@Override%0A%09protected void onReceive(ByteBuffer data, int index) %7B%0A%09%09gameObject.animator.setCurrentAnimationId(data.getInt(index));%0A%09%09gameObject.animator.setCurrentAnimationFrame(data.getInt(index + 4));%0A%09%7D%0A%0A%09@Override%0A%09public int getSize() %7B%0A%09%09return 8;%0A%09%7D%0A%7D%0A

Add component for automatically synchronising an Animator component between multiplayer clients