diff options
author | Katharina Fey <kookie@spacekookie.de> | 2021-02-14 00:06:14 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2021-02-14 00:06:14 +0100 |
commit | effbdeed66e8de8e769b8ac069926ad1a9110e62 (patch) | |
tree | e4522354e53266204aa9962caccde55d8c815092 /games/rstnode/rst-client/src/graphics/mod.rs | |
parent | 5dab336049dbc6817e9ff212998690f59f6bbfa8 (diff) |
* 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-client/src/graphics/mod.rs')
-rw-r--r-- | games/rstnode/rst-client/src/graphics/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/rstnode/rst-client/src/graphics/mod.rs b/games/rstnode/rst-client/src/graphics/mod.rs index a7ba676ecc6b..757d44d312d4 100644 --- a/games/rstnode/rst-client/src/graphics/mod.rs +++ b/games/rstnode/rst-client/src/graphics/mod.rs @@ -31,6 +31,6 @@ pub(self) mod prelude { /// A rendering trait which is given graphics context, and game state pub trait Renderer { - fn update(&mut self, _state: &mut ClientState, _ctx: &mut Context) -> GameResult<()>; + // fn update(&mut self, _state: &mut ClientState, _ctx: &mut Context) -> GameResult<()>: fn draw(&self, _state: &ClientState, _ctx: &mut Context) -> GameResult<()>; } |