UlrikHrldssn / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Allow to iterate through variables on an object #300

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Attaching a patch that exposes ways to access all variables in an object to 
allow iterating through them without knowing their names in advance.

The patch does it 2 ways, either exposing the variable map directly or 
indirectly by simply returning a list of names for variables that you can use 
to then retrieve the variables themselves.

Original issue reported on code.google.com by vek...@gmail.com on 2 Feb 2013 at 8:34

Attachments:

GoogleCodeExporter commented 8 years ago
Ah, ok! Might be useful. Thx for that.

I already commited: http://code.google.com/p/gamekit/source/detail?r=1251

Original comment by thomas.t...@googlemail.com on 4 Feb 2013 at 3:30