python Programming Glossary: add_bullet
Python function overloading http://stackoverflow.com/questions/6434482/python-function-overloading with a given speed. I would write a function like this def add_bullet sprite start headto speed ... Code ... But I want to write other.. to write other functions for creating bullets like def add_bullet sprite start direction speed def add_bullet sprite start headto.. like def add_bullet sprite start direction speed def add_bullet sprite start headto spead acceleration def add_bullet sprite..
|