From ae063b839a8aad70fc4ddc151f53bbd8b5e32a83 Mon Sep 17 00:00:00 2001 From: Justin Senn Date: Mon, 6 Feb 2023 22:16:03 +0100 Subject: [PATCH] refactoring: --- src/main/java/Snake/Controller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/Snake/Controller.java b/src/main/java/Snake/Controller.java index b310d5e..e751b57 100644 --- a/src/main/java/Snake/Controller.java +++ b/src/main/java/Snake/Controller.java @@ -42,7 +42,7 @@ public class Controller { initializeInputHandling(); addButtonActionListeners(window); - timer = new Timer(10, new ActionListener() + timer = new Timer(100, new ActionListener() { @Override public void actionPerformed(ActionEvent e)