12
1

Refactoring "some" things #344

Geschlossen
Lixfel möchte 0 Commits von refactoring nach master mergen
Besitzer

Improving future configuration flexibility

  • FightSystem.getEventLeiter -> Config.isReferee
  • FightSystem.getEventKampf -> Config.EventKampf
  • Bukkit.getWorlds().get(0) -> Config.world

Improving performance

  • world.getEntities(OfType) -> Recording.iterateEntities (based on NMS-Entitystreaming)
  • Base PumpkinTechKO on WaterTechKO block caching

Simplify structures

  • Merge WaterTechKO, PumpkinTechKO -> WinconditionBlocks
  • Merge HeartRatioTimeout, PercentTimeout -> WinconditionComparisonTimeout (with Points using same method)
  • Unwrap VersionDependentWrappers to direct interfaces
  • Create a Fight.teams collection and use it where applicable instead of explicit Blue/Red-Team duplication
  • Dissolving FightSystem.setXXFightState onliners

Other

  • Fix typo in ItemBuilder
  • rename tntIterator to better name entityIterator
Improving future configuration flexibility * FightSystem.getEventLeiter -> Config.isReferee * FightSystem.getEventKampf -> Config.EventKampf * Bukkit.getWorlds().get(0) -> Config.world Improving performance * world.getEntities(OfType) -> Recording.iterateEntities (based on NMS-Entitystreaming) * Base PumpkinTechKO on WaterTechKO block caching Simplify structures * Merge WaterTechKO, PumpkinTechKO -> WinconditionBlocks * Merge HeartRatioTimeout, PercentTimeout -> WinconditionComparisonTimeout (with Points using same method) * Unwrap VersionDependentWrappers to direct interfaces * Create a Fight.teams collection and use it where applicable instead of explicit Blue/Red-Team duplication * Dissolving FightSystem.setXXFightState onliners Other * Fix typo in ItemBuilder * rename tntIterator to better name entityIterator
Lixfel hat 1 Commit 2022-04-09 16:23:39 +02:00 hinzugefügt
Refactoring some things
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
4d9e6bbb9d
Signed-off-by: Lixfel <agga-games@gmx.de>
YoyoNow hat die Änderungen 2022-04-09 21:38:51 +02:00 genehmigt
Lixfel hat diesen Pull-Request 2022-04-09 21:42:26 +02:00 geschlossen
Lixfel löschte die Branch refactoring 2022-04-09 21:42:29 +02:00
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Erforderlich
Details

Pull-Request geschlossen

Anmelden, um an der Diskussion teilzunehmen.
Keine Beschreibung angegeben.