gameEngine/gameEngine/Sprite.cpp
//add box collider to the sprite. with pos offset from sprite
add box collider to the sprite. with pos offset from sprite
add box collider to the sprite . with pos offset from sprite
void Sprite::addBoxCollider(std::string name, int w, int h, int posX, int posY)
{
	BoxCollider *temp = new BoxCollider(name, *this, w, h, posX, posY);
	this->colliders_.push_back(temp);
}
void Sprite :: addBoxCollider ( std :: string name , int w , int h , int posX , int posY ) { BoxCollider * temp = new BoxCollider ( name , * this , w , h , posX , posY ) ; this -> colliders_ . push_back ( temp ) ; }
add box collider to the sprite.
add box collider to the sprite .