Extract all entities to entities.rs
This commit is contained in:
1 parent
c67663141f
commit
92ca42869c
9 files changed
+137
-130
No files matched your search
+3
-2
@@ -1,8 +1,9 @@
|
||||
use crate::core::deck::{CardStatistics, DeckData};
|
||||
use crate::core::deck::DeckData;
|
||||
use rand::distr::weighted::WeightedIndex;
|
||||
use rand::prelude::ThreadRng;
|
||||
use rand::prelude::{Distribution, SliceRandom};
|
||||
use rand::rng;
|
||||
use crate::data::entities::CardStatistics;
|
||||
|
||||
const MAX_HISTORY_LEN: usize = 20;
|
||||
const MAX_HISTORY_LEN_PART: f32 = 0.33;
|
||||
@@ -184,4 +185,4 @@ pub enum WordOpenMode {
|
||||
Ok,
|
||||
Hard,
|
||||
None,
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user