Closed expl0r3rgu1 closed 2 years ago
Do I only need to change the implementation of the ActionListener or is there also a problem in the code inside of it?
Do I only need to change the implementation of the ActionListener or is there also a problem in the code inside of it?
The code of the Action listener is okay. The repaint method is not working correctly because of the way the Action listener has been instantiated.
The implementation is supposed to be similar to https://github.com/expl0r3rgu1/floppy-floppa/blob/dev/src/main/infinite_map/TimedObstacleGenerator.java and https://github.com/expl0r3rgu1/floppy-floppa/blob/dev/src/main/infinite_map/TimedFixedObstacleGenerator.java
The only difference should be that it will be completely implemented in the Character class.