// Use this for initialization
    void Start()
    {
        player   = FindObjectOfType <PlayerController> ();
        profConv = FindObjectOfType <NpcConversation> ();

        animator = GetComponent <Animator> ();
    }
    // Use this for initialization
    void Start()
    {
        rb           = GetComponent <Rigidbody2D> ();
        slidingLamp  = FindObjectOfType <SlidingLamp> ();
        toughGuyConv = FindObjectOfType <NpcConversation> ();
        animator     = GetComponent <Animator> ();
        guyCollider  = GetComponent <Collider2D> ();

        stage = 0;
    }
    // Use this for initialization
    void Start()
    {
        player   = FindObjectOfType <PlayerController> ();
        animator = GetComponent <Animator> ();

        npc          = GetComponent <NpcConversation> ();
        walkDistance = transform.position.x + walkDistance;

        rb             = GetComponent <Rigidbody2D> ();
        rb.isKinematic = true;
    }
        public void Process(byte[] buffer, IConnection connection)
        {
            var msg    = new ByteBuffer(buffer);
            var option = msg.ReadInt32();

            if (option > 0)
            {
                var chat = new NpcConversation()
                {
                    Player = Authentication.Players[connection.Index]
                };

                chat.SelectOption(option);
            }
        }