Mercurial > projects > openmelee
diff melee.d @ 11:d998bf1b0654
Added utilities and AI; fixed steer
author | Mason Green <mason.green@gmail.com> |
---|---|
date | Sun, 22 Mar 2009 09:35:24 -0400 |
parents | 4ee9e4a0c03b |
children | e1004697cae1 |
line wrap: on
line diff
--- a/melee.d Sun Mar 22 08:03:43 2009 -0400 +++ b/melee.d Sun Mar 22 09:35:24 2009 -0400 @@ -34,7 +34,6 @@ import Integer = tango.text.convert.Integer; import tango.math.Math; -import tango.math.random.Kiss; import xf.hybrid.Event; import xf.input.KeySym; @@ -144,11 +143,6 @@ } } -T randomRange(T = int) (T min, T max) -{ - return min + Kiss.instance.natural() % (max + 1 - min); -} - class Melee {