alcemirfernandes / pynguin

Automatically exported from code.google.com/p/pynguin
GNU General Public License v3.0
0 stars 0 forks source link

Method to allow individual pynguins to change their costume #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
View -> Robot changes p, but I'd like to do q.costume('robot')

What version of the product are you using? On what operating system?
HEAD, Ubuntu 9.10

Original issue reported on code.google.com by aresnick...@gmail.com on 6 Jul 2010 at 6:54

GoogleCodeExporter commented 9 years ago
q.setImageid(imageid) # 'pynguin', 'robot', 'arrow', 'turtle', 'hidden'

See the horserace example file for instance.

One thing I'd like to do eventually is allow the user to set the picture to 
anything they want.

Original comment by miss...@hotmail.com on 6 Jul 2010 at 8:35

GoogleCodeExporter commented 9 years ago
Awesome; thanks!  Something that would help in exploring stuff like this is 
tab-completion a la IPython, but I don't know how big a change that is. . .

Original comment by aresnick...@gmail.com on 7 Jul 2010 at 12:33

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 189b8a1e76.

Original comment by miss...@hotmail.com on 15 Jul 2010 at 3:54