gameServer/Votes.hs
author unc0rr
Wed, 22 Jan 2014 23:42:41 +0400
changeset 10056 cb9e07753802
parent 10049 ca11d122f54e
child 10058 4ed428389c4e
permissions -rw-r--r--
Don't delegate special room to another player when owner quits

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