Made a game engine with javafx, next step tryin to use it with tetris