pong-cli 1.0.1

Play pong from the command-line!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::system_prelude::*;

#[derive(Default)]
pub struct DeltatimeSystem;

impl<'a> System<'a> for DeltatimeSystem {
    type SystemData = Write<'a, Deltatime>;

    fn run(&mut self, mut deltatime: Self::SystemData) {
        deltatime.update();
    }
}