SHARE
TWEET

tower_placer.rs

a guest Jan 21st, 2020 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #[derive(SystemDesc)]
  2. #[system_desc(name(TowerPlacerDesc))]
  3. pub struct TowerPlacer {
  4.     #[system_desc(event_channel_reader)]
  5.     reader_id: ReaderId<InputEvent<MicroTdBindingTypes>>,
  6. }
  7.  
  8. impl TowerPlacer {
  9.     pub fn new(reader_id: ReaderId<InputEvent<MicroTdBindingTypes>>) -> Self {
  10.         Self { reader_id }
  11.     }
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top