Skip to content
Snippets Groups Projects
Commit 0d216966 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #5

parent 8db99d4a
No related branches found
No related tags found
No related merge requests found
No preview for this file type
File added
No preview for this file type
......@@ -57,6 +57,17 @@ public class Controller
grid = new GridPane();
grid.setFocusTraversable(false);
scrollPane.setContent(grid);
anchorPaneGame.setOnMouseClicked(new EventHandler<MouseEvent>()
{
@Override
public void handle(MouseEvent event)
{
if(event.getButton().equals(MouseButton.SECONDARY))
{
rotateRight();
}
}
});
game = new Game();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment