How to make object shoot in Processing