aboutsummaryrefslogtreecommitdiff
path: root/games/rstnode/rst-core/src
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2021-02-06 22:54:28 +0100
committerKatharina Fey <kookie@spacekookie.de>2021-02-06 22:54:28 +0100
commita6a1949914fb2074fb5fec9c75b075eac369541f (patch)
treea112f4ce0e88298c1d8a25c504d7a0478a0c39dc /games/rstnode/rst-core/src
parentcf9392a33bb99ae581f818d3ddb8be1231521a02 (diff)
rstnode: create small graphics example
Diffstat (limited to 'games/rstnode/rst-core/src')
-rw-r--r--games/rstnode/rst-core/src/data.rs7
-rw-r--r--games/rstnode/rst-core/src/lib.rs2
2 files changed, 4 insertions, 5 deletions
diff --git a/games/rstnode/rst-core/src/data.rs b/games/rstnode/rst-core/src/data.rs
index 5ce5517c2b07..c41ec6d77e32 100644
--- a/games/rstnode/rst-core/src/data.rs
+++ b/games/rstnode/rst-core/src/data.rs
@@ -1,14 +1,13 @@
//! Data structures for the game
+#![allow(unused)]
+
use crate::io::Io;
use async_std::sync::Arc;
use rand::seq::SliceRandom;
use rand::thread_rng;
use serde::{Deserialize, Serialize};
-use std::{
- collections::BTreeMap,
- sync::atomic::{AtomicBool, AtomicU16, AtomicU32},
-};
+use std::sync::atomic::{AtomicBool, AtomicU16, AtomicU32};
pub type NodeId = usize;
diff --git a/games/rstnode/rst-core/src/lib.rs b/games/rstnode/rst-core/src/lib.rs
index 36e232f4639c..5ee4e49750c9 100644
--- a/games/rstnode/rst-core/src/lib.rs
+++ b/games/rstnode/rst-core/src/lib.rs
@@ -1,4 +1,4 @@
-//! # RST Node
+//! # RST Node Core
//!
//! RST Node is a real-time strategy game about computers on a
//! network, fighting for dominance against a set of other network