1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
module Game.Entities.Const where hitDelay :: Int hitDelay = 96 frameDelay :: Int frameDelay = 6 jumpFrame :: Int jumpFrame = 3 gravityOff :: Int gravityOff = -1 gravityUp :: Int gravityUp = 0 gravityDown :: Int gravityDown = 14 jumpLimit :: Int jumpLimit = gravityDown + 7 gravityTable :: [Int] gravityTable = [0, 6, 4, 4, 2, 2, 2, 2, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 4]