diff options
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 } |