added enemy act method