aboutsummaryrefslogtreecommitdiff
path: root/games/rstnode/rst-core/src/_if.rs
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2021-02-14 00:06:14 +0100
committerKatharina Fey <kookie@spacekookie.de>2021-02-14 00:06:14 +0100
commiteffbdeed66e8de8e769b8ac069926ad1a9110e62 (patch)
treee4522354e53266204aa9962caccde55d8c815092 /games/rstnode/rst-core/src/_if.rs
parent5dab336049dbc6817e9ff212998690f59f6bbfa8 (diff)
rstnode: refactoring server and client components into rst-coreHEADmaster
* Add an inbox/ outbox system to server components * Define a data flow from Request -> computation -> Update * Create simple handlers to call server or client code for requests
Diffstat (limited to 'games/rstnode/rst-core/src/_if.rs')
-rw-r--r--games/rstnode/rst-core/src/_if.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/rstnode/rst-core/src/_if.rs b/games/rstnode/rst-core/src/_if.rs
index 1a842840708c..f3ed8ee5ffde 100644
--- a/games/rstnode/rst-core/src/_if.rs
+++ b/games/rstnode/rst-core/src/_if.rs
@@ -1,8 +1,8 @@
//! A common trait interface between the server and the client
use crate::wire::{
- Action, AuthErr, Lobby, LobbyErr, LobbyId, LobbyUpdate, MatchErr, MatchId, RegErr, UpdateState,
- User, UserId,
+ game::Action, AuthErr, Lobby, LobbyErr, LobbyId, LobbyUpdate, MatchErr, MatchId, RegErr,
+ UpdateState, User, UserId,
};
use async_std::sync::Arc;
use async_trait::async_trait;