LambdaHack-0.6.2.0: A game engine library for roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Server.CommonM

Description

Server operations common to many modules.

Documentation

projectFail Source #

Arguments

:: (MonadAtomic m, MonadServer m) 
=> ActorId

actor projecting the item (is on current lvl)

-> Point

target position of the projectile

-> Int

digital line parameter

-> ItemId

the item to be projected

-> CStore

whether the items comes from floor or inventory

-> Bool

whether the item is a blast

-> m (Maybe ReqFailure)