예제 #1
0
        public static void performNPCMove(int x, int y, long id)
        {
            Character characterFromID = MultiplayerUtility.getCharacterFromID(id);

            if (characterFromID != null && !characterFromID.ignoreMultiplayerUpdates)
            {
                characterFromID.updatePositionFromServer(new Vector2((float)x, (float)y));
            }
        }