// Update is called once per frame
 void Update()
 {
     if (state == CharacterState.death)
     {
         movement.AnimateDeathOnline();
         return;
     }
     if (photonView.isMine)
     {
         // Get Input and Move Player
         float inputX = Input.GetAxis("Horizontal");
         float inputY = Input.GetAxis("Vertical");
         movement.MoveToPoint(inputX, inputY, speed, state);
     }
     photonView.RPC("UpdateTimer", PhotonTargets.AllBuffered, -Time.deltaTime);
 }