[FONT=Arial]I am very new to OOP.
I am trying to make a little game. In short words; you control a instance named player, and get attacked by children of the Enemy class.
How can all the children of “Enemy” know the coordinates to player instance, how can the document class and the Enemy class [/FONT][FONT=Arial][COLOR=#000000]exchange variables?
Thanks in advance:?)