Dimensions / Solar

The API for Dimensions
MIT License
4 stars 0 forks source link

Remove getRandom() method and its corresponding import. #5

Closed ItsDoot closed 9 years ago

ItsDoot commented 9 years ago

There's no need to have that.

wgaylord commented 9 years ago

Not sure why the other @Dimensions/programmers added it..

(Hit wrong button.)

phase commented 9 years ago

It's gives us one singleton instance of the Random class, which Plugins can also use.

ItsDoot commented 9 years ago

@phase it still makes no sense to include it, when you can just create your own instance.

This isn't how you should be utilizing Singletons. Singletons are mean't for accessing the same set of data from anywhere in the project, and you don't need that with a class that doesn't store data.