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;
and calling it with;Code:void move(Player * &thePlay, Enemy * &enemys);
but i get the error 444no matching function for call to `Enemy::move(Player*&, Enemy*)'Code:enemys->move(thePlay,enemys)
i'm sure the answer is obvious, but i don't know it!