return time controls
This commit is contained in:
parent
f002e9e283
commit
759ac868dd
@ -51,7 +51,7 @@ pub enum TimeControl {
|
||||
impl TimeControl {
|
||||
fn vbox_time_seconds(&self) -> i64 {
|
||||
match self {
|
||||
TimeControl::Standard => 10,
|
||||
TimeControl::Standard => 180,
|
||||
TimeControl::Slow => 240,
|
||||
TimeControl::Practice => panic!("practice vbox seconds called"),
|
||||
}
|
||||
@ -59,7 +59,7 @@ impl TimeControl {
|
||||
|
||||
fn game_time_seconds(&self) -> i64 {
|
||||
match self {
|
||||
TimeControl::Standard => 10,
|
||||
TimeControl::Standard => 60,
|
||||
TimeControl::Slow => 120,
|
||||
TimeControl::Practice => panic!("practice game seconds called"),
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user