Ok so i'm trying to build the member-function of the class that controls the movement of the enemies, and too implement some basic collision detection i want to pass it the address of the pointers of the player character and the enemies array that are on the heap.

so i tried prototyping;

Code:
 
 void move(Player * &thePlay, Enemy * &enemys);
and calling it with;

Code:
enemys[1]->move(thePlay,enemys)
but i get the error 444no matching function for call to `Enemy::move(Player*&, Enemy*[4])'

i'm sure the answer is obvious, but i don't know it!