Java, a simple shooting game