RedstoneFuture / missilewars

MissileWars is a famous, fun and fast minigame spigot-plugin for Minecraft
https://www.spigotmc.org/resources/62947
GNU General Public License v3.0
13 stars 9 forks source link

Restructuring files #48

Closed RedstoneFuture closed 2 years ago

RedstoneFuture commented 2 years ago

Here I would like to suggest a new file order, which is more intuitive to find the classes. The old order, especially the "wrapper", was based on technical aspects, but it feels harder to find the correct files while the developing.

Preview: I was able to build this restructuring without any access problems. https://github.com/RedstoneFuture/missilewars/tree/Workspace/Reorder_v1/missilewars-plugin/src/main/java/de/butzlabben/missilewars


Changes:

Commands:

Configuration Management:

Equipment:

Misc Game Features:

Player:

Game Enums:


grafik

RedstoneFuture commented 2 years ago

@Butzlabben What do you think about it?

daniel-naegele commented 2 years ago

I think the general structure is improved. But I am not happy with the util/ directory. For me personally and my experience, I think that we have too much stuff in there. The MathUtil, geometry, serialization etc. are perfectly fine in there. But I think we should move missile, signs, stats and stuff like that outside/somewhere else. We can also talk about this in call if you want.