Use system sleep functions as threadDelay sleep to long without -threaded
This commit is contained in:
parent
c0d2d54ea1
commit
d6b28723a2
5 changed files with 17 additions and 4 deletions
|
@ -16,7 +16,7 @@ tankLength :: Micro
|
|||
tankLength = 0.95
|
||||
|
||||
bulletDiameter :: Micro
|
||||
bulletDiameter = 0.1
|
||||
bulletDiameter = 0.05
|
||||
|
||||
collisionTankBorder :: Micro -> Micro -> Tank -> Tank
|
||||
collisionTankBorder lw lh tank = tank {tankX = newx, tankY = newy}
|
||||
|
|
Reference in a new issue