create peashooter on click moved.

That way the code will be easier to read and easier to add the extra
functions or edit them separately.