#2 Hier ein Vorschlag für einen neuen CommmandDistributor: Umsetzung nicht als Enum sondern als HashMap. So muss kein riesiges switch-case vernwendet werden und das aussuche der Befehlsklassen ist durch die HashMap optimiert.

Closed
yannic wants to merge 2 commits from new_command_distributor into master
yannic commented 4 years ago
Owner

Joa hier nur mal ein Optimierungsvorschlag für den CommandDistributor. Die ürsprüngliche Form mit dem switch-case fand ich doch etwas hässlich und umständlich. Jetzt ist es etwas schlanker gelöst. Ka ... ist das besser?

Joa hier nur mal ein Optimierungsvorschlag für den CommandDistributor. Die ürsprüngliche Form mit dem switch-case fand ich doch etwas hässlich und umständlich. Jetzt ist es etwas schlanker gelöst. Ka ... ist das besser?
yannic added 1 commit 4 years ago
Problembeloeser added 1 commit 4 years ago
yannic closed this pull request 3 years ago
yannic deleted branch new_command_distributor 3 years ago
This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.