How to make object shoot in Processing

Hi

Nice game