diff --git a/src/main/java/JumpGame.java b/src/main/java/JumpGame.java index bfbf201..4a7b5ca 100644 --- a/src/main/java/JumpGame.java +++ b/src/main/java/JumpGame.java @@ -1,16 +1,12 @@ import models.IModel; import models.JumpGameModel; -import org.lwjgl.glfw.GLFW; import org.lwjgl.glfw.GLFWKeyCallback; import views.BackgroundRenderer; import views.IView; import views.PlayerRenderer; import views.TileMapRenderer; -import static org.lwjgl.glfw.Callbacks.glfwFreeCallbacks; import static org.lwjgl.glfw.GLFW.*; -import static org.lwjgl.opengl.GL11.*; -import static org.lwjgl.system.MemoryUtil.NULL; import java.util.ArrayList; @@ -26,7 +22,7 @@ // public void gravity(double y) { JumpGameModel jumpGameModel = (JumpGameModel) model; - jumpGameModel.updateGravity(y); //重力の更新 + jumpGameModel.gravity(y); //重力の更新 jumpGameModel.updateGroundFlag();//地面の判定切り替え }