simplify condition when an enemy touches a ground
use none_of instead of count_if == 0