ld31-space-diggers/src/tools.coffee
2014-12-06 12:57:25 +01:00

2 lines
No EOL
83 B
CoffeeScript

getRandomInt = (min, max) ->
Math.floor(Math.random() * (max - min + 1)) + min;