My java(JFrame) player movement script won't work
问题 I am making a top down 2d survival game where the player must dodge projectiles from enemies in order to survive, but I've run into an issue that may, slightly influence the gameplay of my first real java project, that issue being that the player cannot move in any way shape or form and if the projectiles had of been implemented, then the player would lose immediately after spawning into this world. here is the code: package maximiza; import java.awt.*; import java.awt.event.KeyEvent; import