author | unc0rr |
Wed, 22 Jan 2014 09:19:08 +0400 | |
changeset 10049 | ca11d122f54e |
child 10058 | 4ed428389c4e |
permissions | -rw-r--r-- |
10049 | 1 |
module Votes where |
2 |
||
3 |
import Data.Unique |
|
4 |
import CoreTypes |
|
5 |
import RoomsAndClients |
|
6 |
import Control.Monad.Reader |
|
7 |
import Control.Monad.State |
|
8 |
import ServerState |
|
9 |
||
10 |
voted :: Unique -> Bool -> Reader (ClientIndex, IRnC) [Action] |
|
11 |
voted = undefined |
|
12 |
||
13 |
startVote :: VoteType -> Reader (ClientIndex, IRnC) [Action] |
|
14 |
startVote = undefined |
|
15 |
||
16 |
checkVotes :: StateT ServerState IO () |
|
17 |
checkVotes = undefined |