aboutsummaryrefslogtreecommitdiff
path: root/src/RandomValues.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2014-10-05 23:10:18 +0200
committerJoris Guyonvarch2014-10-05 23:10:32 +0200
commit4521cdf1bb5725c9d497e5fb0c03943ad03a052f (patch)
tree8b7247e9b1b2c950c7bec39548bfe860965c5126 /src/RandomValues.elm
parentc2583cf7ff8684d1194c61ab132e23d7ccebcd51 (diff)
Adding multiple moving points to catch
Diffstat (limited to 'src/RandomValues.elm')
-rw-r--r--src/RandomValues.elm13
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
}