bitbrain / braingdx

:video_game: Game jam framework based on libgdx.
Apache License 2.0
84 stars 1 forks source link

Calling getPosition() on GameObject does expose internal vector #210

Closed bitbrain closed 4 years ago

bitbrain commented 5 years ago

The problem is when calling methods like sub object.getPosition() that we do not want to mutate that vector.