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

Extract Coordinate Conversions to Utility Function #5

Closed
fg123 opened this issue Nov 3, 2018 · 0 comments
Closed

Extract Coordinate Conversions to Utility Function #5

fg123 opened this issue Nov 3, 2018 · 0 comments

Comments

@fg123
Copy link
Owner

fg123 commented Nov 3, 2018

Littered in the code is a lot of instances of:

new Tuple(
        from.x * 96,
        (from.y * 111) + (from.x % 2) * 55
);

This calculation should be extracted to a utility function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant