diff options
author | Joris Guyonvarch | 2014-10-05 23:10:18 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2014-10-05 23:10:32 +0200 |
commit | 4521cdf1bb5725c9d497e5fb0c03943ad03a052f (patch) | |
tree | 8b7247e9b1b2c950c7bec39548bfe860965c5126 /src/RandomValues.elm | |
parent | c2583cf7ff8684d1194c61ab132e23d7ccebcd51 (diff) |
Adding multiple moving points to catch
Diffstat (limited to 'src/RandomValues.elm')
-rw-r--r-- | src/RandomValues.elm | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/RandomValues.elm b/src/RandomValues.elm index 3d389f3..5d45b15 100644 --- a/src/RandomValues.elm +++ b/src/RandomValues.elm @@ -1,9 +1,12 @@ module RandomValues where type RandomValues = - { enemyAngle : Float - , enemyX : Float - , enemyY : Float - , targetX : Float - , targetY : Float + { greenPoint : PointRandomValues + , redPoint : PointRandomValues + } + +type PointRandomValues = + { angle : Float + , x : Float + , y : Float } |