Update MediaWiki page '317 Begin player updating'

This commit is contained in:
Bl3nd 2014-08-13 06:14:59 +00:00 committed by moparisthebest
parent 595f5a14d3
commit 37e205958e

View File

@ -117,13 +117,25 @@ Check which type of movement took place. (PRIMARY) If no movement did take place
! Description
|-
| putBits(11, otherPlayer.getIndex());
| N/A
| Write the player index
|-
| int yPos = other player y - player y;
| N/A
| Calculate the y offsets
|-
| int xPos = other player x - player x;
| N/A
| Calculate the x offsets
|-
| putBits(5, xPos);
| Write the x offsets
|-
| putBits(5, yPos);
| Write the y offsets
|-
| putBits(1, 1);
| Indicates update is required (this is always true!)
|-
| putBits(1, 1);
| Indicates we should discard client-side walk queues
|-
|}