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

Implemented Controls, and Screen. Also cleaned up Sound class. #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

DeepWolf413
Copy link

No description provided.

I changed the string parameters for SetFile, SetSet, and the constructor to 'const std::string&' so it is being sent as a reference instead. Before the changes it would make a copy of the string being sent as an argument. And the const basically marks it as not being changed in the scope of the function/constructor.
I also removed Screen from the namespace to keep things consistent with the rest of the project (other cpp files currently only has LemonUI in the namespace).
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.

1 participant