开始进行一个实现
This commit is contained in:
parent
6bc2637263
commit
5e292d0058
14
namerena-runner/src/engine.rs
Normal file
14
namerena-runner/src/engine.rs
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
pub mod runners {
|
||||||
|
|
||||||
|
pub struct PlayerGroup {
|
||||||
|
players: Vec<Player>,
|
||||||
|
}
|
||||||
|
|
||||||
|
pub struct Runner {
|
||||||
|
/// 应该是一个 Rc4 实例类似物
|
||||||
|
seed: u32,
|
||||||
|
/// 所有玩家 (包括 boss)
|
||||||
|
players: Vec<PlayerGroup>
|
||||||
|
}
|
||||||
|
}
|
@ -1,5 +1,7 @@
|
|||||||
/// 万里长征, 始于足下
|
/// 万里长征, 始于足下
|
||||||
|
|
||||||
mod name;
|
mod name;
|
||||||
|
mod engine;
|
||||||
mod rc4;
|
mod rc4;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user