This really confuses me. How is GetPosition used? Ive tried to use it but have failed. Can it be used for collisions:? Such as:
if (rectangle.getPosition() == rectangle2.getPosition() )
{
cout<<"hit!";
}
(that didnt work by the way)
Could someone give me an example of how this is supposed to be used?
thanks