gameServer/Votes.hs
author unc0rr
Thu, 23 Jan 2014 00:07:27 +0400
changeset 10057 795f5f918c8c
parent 10049 ca11d122f54e
child 10058 4ed428389c4e
permissions -rw-r--r--
- Allow delegation to specific person in fixed room - Remove redundant check in DELEGATE handler

module Votes where

import Data.Unique
import CoreTypes
import RoomsAndClients
import Control.Monad.Reader
import Control.Monad.State
import ServerState

voted :: Unique -> Bool -> Reader (ClientIndex, IRnC) [Action]
voted = undefined

startVote :: VoteType -> Reader (ClientIndex, IRnC) [Action]
startVote = undefined

checkVotes :: StateT ServerState IO ()
checkVotes = undefined