Skip to content

Acceleration #18

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

Open
dvijayak opened this issue May 30, 2019 · 0 comments
Open

Acceleration #18

dvijayak opened this issue May 30, 2019 · 0 comments

Comments

@dvijayak
Copy link
Owner

dvijayak commented May 30, 2019

Add an acceleration constant to the SpeedComponent. It will be used when increasing OR decreasing the ship's speed per unit adjustment.

Example:
If the acceleration constant is 5 and a SpeedAction requests an increase in the speed by 2 units, then the actual adjustment will be by +2 * 5. If it was a decrease in 3 units, then the adjustment would be -3 * 5.

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