|
|
@ -3,11 +3,11 @@ use mio::Token;
|
|
|
|
|
|
|
|
|
|
|
|
use crate::command::Command;
|
|
|
|
use crate::command::Command;
|
|
|
|
use crate::game::{Game, PlayerCheck};
|
|
|
|
use crate::game::{Game, PlayerCheck};
|
|
|
|
|
|
|
|
use crate::log_error;
|
|
|
|
use crate::password::Password;
|
|
|
|
use crate::password::Password;
|
|
|
|
use crate::player::Player;
|
|
|
|
use crate::player::Player;
|
|
|
|
use crate::queue::SendQueue;
|
|
|
|
use crate::queue::SendQueue;
|
|
|
|
use crate::state::*;
|
|
|
|
use crate::state::*;
|
|
|
|
use crate::log_error;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl Game {
|
|
|
|
impl Game {
|
|
|
|
pub fn login(&mut self, token: Token, message: String, state: &Login) -> SendQueue {
|
|
|
|
pub fn login(&mut self, token: Token, message: String, state: &Login) -> SendQueue {
|
|
|
|