A 2d game engine system build in Java