Hello ANKUR,

Just add a timer variable to the plane class.  Every time it is
updated, subtract time from the timer.  When it hits 0, the bullet can
be fired.  Else, it cannot.  When the bullet is fired, reset the timer
to a delay value.  It's that simple :)

Cheers,
Nathanael Lastname.

-- 
My Blog - Defenestration Coding

http://defenestrationcoding.wordpress.com/
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to