From 3217d4c1675b4baeb9136f40a8a5a70f9f537fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=86=A1=ED=98=84=EC=9A=B0?= <83938394+yunuo46@users.noreply.github.com> Date: Sat, 11 May 2024 04:52:42 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=94=8C=EB=A0=88=EC=9D=B4=EC=96=B4=20?= =?UTF-8?q?=EC=86=8D=EB=8F=84=20=EC=A1=B0=EC=A0=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/getaguitar/site/demo/Service/MapServiceImpl.java | 8 ++++---- src/main/resources/application.properties | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/getaguitar/site/demo/Service/MapServiceImpl.java b/src/main/java/getaguitar/site/demo/Service/MapServiceImpl.java index 97e5f4d..2f7703a 100644 --- a/src/main/java/getaguitar/site/demo/Service/MapServiceImpl.java +++ b/src/main/java/getaguitar/site/demo/Service/MapServiceImpl.java @@ -46,19 +46,19 @@ public MoveUserDto moveUser(MoveUserDto userInfo) { switch (direction) { case "up" -> { - y -= 2; + y -= 6; user.setY(y); } case "down" -> { - y += 2; + y += 6; user.setY(y); } case "left" -> { - x -= 2; + x -= 6; user.setX(x); } case "right" -> { - x += 2; + x += 6; user.setX(x); } } diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 40aa6cc..3651a62 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -13,6 +13,6 @@ spring.jpa.show-sql=true spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver # LocalTest -#spring.datasource.url=jdbc:mysql://localhost:3306/getaguitar?useSSL=false&allowPublicKeyRetrieval=true -#spring.datasource.username=root -#spring.datasource.password=8320 \ No newline at end of file +spring.datasource.url=jdbc:mysql://localhost:3306/getaguitar?useSSL=false&allowPublicKeyRetrieval=true +spring.datasource.username=root +spring.datasource.password=8320 \ No newline at end of file