changed function order in enemy.h