gameServer/Votes.hs
author sheepluva
Wed, 22 Jan 2014 18:46:15 +0100
changeset 10053 8a56c23f94c5
parent 10049 ca11d122f54e
child 10058 4ed428389c4e
permissions -rw-r--r--
actual fix
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