void Update()
 {
     if (state.isAlive())
     {
         GetComponent <Rigidbody2D> ().velocity =
             new Vector2(moveVelocity * speed, GetComponent <Rigidbody2D> ().velocity.y);
         moveVelocity = 0;
     }
     health.setState(state.health);
     armor.setState(state.armor);
 }