2d object-oriented game