aboutsummaryrefslogtreecommitdiff
path: root/src/Model/Point.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/Point.elm')
-rw-r--r--src/Model/Point.elm4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Model/Point.elm b/src/Model/Point.elm
index a465e40..c0daeaf 100644
--- a/src/Model/Point.elm
+++ b/src/Model/Point.elm
@@ -4,6 +4,7 @@ module Model.Point
, pointSize
, pointSpeed
, pointSpawnDist
+ , pointAwayDist
) where
import Model.Vec2 exposing (..)
@@ -28,3 +29,6 @@ pointSpeed dt = dt / 20
pointSpawnDist : Vec2 -> Float
pointSpawnDist boardSize = (boardDiagonal boardSize) * 2.5 / 5 + pointSize
+
+pointAwayDist : Vec2 -> Float
+pointAwayDist boardSize = (boardDiagonal boardSize) * 3 / 5 + pointSize