gameEngine/gameEngine/Sprite.cpp
//add a poly collider to the sprite, takes a list of verticies
add a poly collider to the sprite, takes a list of verticies
add a poly collider to the sprite takes a list of verticies
void Sprite::addPolyCollider(std::string name, std::vector<glm::vec2> verticies)
{
	PolyCollider *temp = new PolyCollider(name, *this, verticies);
	this->colliders_.push_back(temp);
}
void Sprite :: addPolyCollider ( std :: string name , std :: vector < glm :: vec2 > verticies ) { PolyCollider * temp = new PolyCollider ( name , * this , verticies ) ; this -> colliders_ . push_back ( temp ) ; }
add a poly collider to the sprite, takes a list of verticies
add a poly collider to the sprite takes a list of verticies