Skip to content

Commit

Permalink
remove scene
Browse files Browse the repository at this point in the history
  • Loading branch information
qti3e committed Jun 27, 2023
1 parent 0068b71 commit 2f87574
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 96 deletions.
22 changes: 0 additions & 22 deletions lib/simulon/examples/simple.rs

This file was deleted.

10 changes: 7 additions & 3 deletions lib/simulon/src/context.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
use std::{future::Future, time::Duration};

use crate::{connection::Connection, scene::ServerId};
use crate::{connection::Connection, peer::PeerId};

pub struct Context {}

impl Context {
pub fn peer_list(&self) -> &Vec<ServerId> {
pub fn peer_list(&self) -> &Vec<PeerId> {
todo!()
}

pub async fn dial(&self, _peer: &ServerId, _port: u8) -> Option<Connection> {
pub async fn dial(&self, _peer: &PeerId, _port: u8) -> Option<Connection> {
todo!()
}

Expand All @@ -21,6 +21,10 @@ impl Context {
todo!()
}

pub async fn yield_execution() {
todo!()
}

pub fn spawn(&self, _future: impl Future) {
todo!()
}
Expand Down
1 change: 0 additions & 1 deletion lib/simulon/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ pub mod engine;
pub mod futures;
pub mod peer;
pub mod ping;
pub mod scene;
70 changes: 0 additions & 70 deletions lib/simulon/src/scene.rs

This file was deleted.

0 comments on commit 2f87574

Please sign in to comment.