Add file
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
module Dodge.Flame.Size (flameSize) where
|
||||||
|
|
||||||
|
import Dodge.Data.Flame
|
||||||
|
|
||||||
|
flameSize :: Flame -> Float
|
||||||
|
flameSize fl
|
||||||
|
| x > 95 = x - 95
|
||||||
|
| x > 80 = 95.1 - x
|
||||||
|
| otherwise = 15
|
||||||
|
where
|
||||||
|
x = fromIntegral (_flTimer fl)
|
||||||
Reference in New Issue
Block a user