2024.02.12 - WORKS
This commit is contained in:
parent
8d4db0c657
commit
2a7b53ddf8
6 changed files with 422 additions and 143 deletions
src
|
@ -7,13 +7,16 @@ use std::process::Output;
|
|||
use crate::core::botinstance::ArcBox;
|
||||
|
||||
use crate::core::botinstance::BotInstance;
|
||||
use tokio::sync::RwLock;
|
||||
use std::sync::Arc;
|
||||
pub type BotAR = Arc<RwLock<BotInstance>>;
|
||||
|
||||
#[tokio::main]
|
||||
pub async fn main() {
|
||||
|
||||
let bot = BotInstance::init();
|
||||
|
||||
bot.clone().runner().await;
|
||||
bot.runner().await;
|
||||
|
||||
println!("ERROR : EXIT Game loop");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue