Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abstractions project #413

Merged
merged 6 commits into from
Oct 25, 2023
Merged

Abstractions project #413

merged 6 commits into from
Oct 25, 2023

Conversation

MattEqualsCoder
Copy link
Collaborator

Created a new abstractions project to hold interfaces and whatnot. For now, I just moved some of the Tracker stuff in there. The game mode interface will go in there, and we can probably slowly pull other things in there over time.

CPColin
CPColin previously approved these changes Oct 24, 2023
CPColin
CPColin previously approved these changes Oct 24, 2023
Vivelin
Vivelin previously approved these changes Oct 25, 2023
Copy link
Member

@Vivelin Vivelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I do wonder if some of these new interfaces should be abstract classes instead.

@MattEqualsCoder
Copy link
Collaborator Author

Looks good. I do wonder if some of these new interfaces should be abstract classes instead.

I guess with as many properties as there are here, I suppose abstract classes would make more sense, yeah.

@MattEqualsCoder MattEqualsCoder dismissed stale reviews from Vivelin and CPColin via 6b8afff October 25, 2023 16:25
@MattEqualsCoder
Copy link
Collaborator Author

Switched to abstract classes for AutoTracker, Tracker, and the SpeechRecognitionService (due to the event - interfaces don't seem to work well with events that aren't used).

While I was at it, I cleaned up a lot of the warnings that had cropped up in builds since the .net 7 upgrade, most of which were in regards to code being only accessible on Windows.

@MattEqualsCoder MattEqualsCoder merged commit 00b3b62 into main Oct 25, 2023
1 check passed
@MattEqualsCoder MattEqualsCoder deleted the abstractions-project branch October 25, 2023 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants