gameServer/Votes.hs
author unc0rr
Wed, 22 Jan 2014 09:19:08 +0400
changeset 10049 ca11d122f54e
child 10058 4ed428389c4e
permissions -rw-r--r--
Oops, forgot this
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10049
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
     1
module Votes where
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
     2
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
     3
import Data.Unique
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
     4
import CoreTypes
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
     5
import RoomsAndClients
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
     6
import Control.Monad.Reader
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
     7
import Control.Monad.State
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
     8
import ServerState
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
     9
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
    10
voted :: Unique -> Bool -> Reader (ClientIndex, IRnC) [Action]
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
    11
voted = undefined
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
    12
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
    13
startVote :: VoteType -> Reader (ClientIndex, IRnC) [Action]
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
    14
startVote = undefined
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
    15
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
    16
checkVotes :: StateT ServerState IO ()
ca11d122f54e Oops, forgot this
unc0rr
parents:
diff changeset
    17
checkVotes = undefined