};                                                                                                                                      //a list of states where the enemy is hit

    void Start()
    {
        animator = GFX.GetComponent <EnemyAnimator>();
        rb       = GetComponent <Rigidbody2D>();
        EnemyManager.enemyList.Add(gameObject);
        RandomizeValues();
    }