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

Replace lookup in spriteCharFromKey() #103

Closed
2 tasks done
pkuehne opened this issue Jul 24, 2018 · 0 comments
Closed
2 tasks done

Replace lookup in spriteCharFromKey() #103

pkuehne opened this issue Jul 24, 2018 · 0 comments
Assignees
Milestone

Comments

@pkuehne
Copy link
Owner

pkuehne commented Jul 24, 2018

CodeFactor found an issue: Complex Method

  • Replace switch statement with a const static array
  • index the key into the array
@pkuehne pkuehne self-assigned this Jul 24, 2018
@pkuehne pkuehne added this to the Alpha 5 milestone Jul 24, 2018
@pkuehne pkuehne closed this as completed Jul 24, 2018
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

No branches or pull requests

1 participant