gameEngine/gameEngine/Observers/ColliderObserver.cpp
//takes a function that takes two sprites as parameters, and two sprites to later load to that function
takes a function that takes two sprites as parameters, and two sprites to later load to that function
takes a function that takes two sprites as parameters and two sprites to later load to that function
ColliderObserver::ColliderObserver(std::string n, void(*f)(Sprite*, Sprite*), Sprite *S1, Sprite *S2) :
	funcSS_(f), oneS(S1), twoS(S2)
{
	this->name = n;
}
ColliderObserver :: ColliderObserver ( std :: string n , void ( * f ) ( Sprite * , Sprite * ) , Sprite * S1 , Sprite * S2 ) : funcSS_ ( f ) , oneS ( S1 ) , twoS ( S2 ) { this -> name = n ; }
takes a function that takes two sprites as parameters, and two sprites to later load to that function
takes a function that takes two sprites as parameters and two sprites to later load to that function