wizard-wipeout/src-server/Server/Map.hs

20 lines
498 B
Haskell
Raw Normal View History

2023-12-05 04:41:16 +00:00
module Server.Map where
import Library.Types
-- | This function procedurally generates the Arena for the game
generateArena
:: Int -- ^ Map's width
-> Int -- ^ Map's height
-> Float -- ^ Probability for a tile to be an item spawner
-> IO Arena -- ^ resulting Arena
generateArena arenaWidth arenaHeight spawnerChance = do
undefined
generateMap
:: Int -- ^ Map's width
-> Int -- ^ Map's height
-> IO Map -- ^ resulting Map
generateMap mapWidth mapHeight = do
undefined