Java game stuff that I use a lot