I was just wondering, in object orientend programming, how would you assaign a direction for an object.
For example:
Lets say I have an object in position (100, 350) and but I wont it to move to point ( 600, 39)
How would I give the object a direction it could move towards? would you use pythagoras theorem