ld31-space-diggers/src/tools.coffee

2 lines
83 B
CoffeeScript
Raw Normal View History

2014-12-06 12:57:25 +01:00
getRandomInt = (min, max) ->
Math.floor(Math.random() * (max - min + 1)) + min;