Reply
Thread Tools
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#11
Alternatively, he could make this a class, and playing could be a member variable. Not neccessary, but would prevent poluting the namespace, yeah?

Even better would be to use pygames built-in methods like lcuk suggested.
__________________
aspidites | blog | aspidites@inbox.com

Last edited by aspidites; 2010-04-24 at 23:53.
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:34.