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

Added RandomDataGenerator.sign (returns -1 or +1) #2328

Merged
merged 1 commit into from Feb 18, 2016

Conversation

taylankasap
Copy link
Contributor

I just started a new project and I needed this method 3 times already (random angularVelocity & velocity direction). Am I missing something?

I'm not sure about the method name though. One might expect it to return string '-' or '+'. Any recommendations?

@photonstorm
Copy link
Collaborator

I think the name is fine, merging in.

photonstorm added a commit that referenced this pull request Feb 18, 2016
Added RandomDataGenerator.sign (returns -1 or +1)
@photonstorm photonstorm merged commit 6cf8bc7 into phaserjs:dev Feb 18, 2016
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.

None yet

2 participants