2 dimensional vector as a parameter

6efadd001e53e8bc67eefabc01a4de7e
0
gamer27lv 101 May 11, 2012 at 01:25

I am having a problem passing my map tiles which are stored into a 2d vector, into my Player update method so I can detect if the player is touching walls etc..

Is there something different about passing a vector into a function?

1 Reply

Please log in or register to post a reply.

6efadd001e53e8bc67eefabc01a4de7e
0
gamer27lv 101 May 11, 2012 at 02:08

It magically started working