On 01/03/2013 07:08 PM, Kene Meniru wrote:
LinearSide.put("Dining", (x,y,z)) # moves 'Dining' to x,y,z locationThe put function of the LinearSide boundary class finds "Dining" (which is an entity class called LinearSideData) in the dictionary and then allows this LinearSideData class to calculate its new location using the x,y,z values provided.
That's what I thought, just wanted to confirm. However, if your objective to make it as easy for the user as possible, is it not easier to bind dining to a name and then do this?: dining.move(x, y, z) -- Lark's Tongue Guide to Python: http://lightbird.net/larks/ -- http://mail.python.org/mailman/listinfo/python-list
