bevy_fighter 0.1.0

A mildly opinionated micro-engine for building 2D fighting games with bevy
Documentation
use crate::prelude::*;

pub fn countdown(val: u8) -> u8 {
    if val > 0 {
        return val - 1;
    } else {
        return 0;
    }
}


#[derive(Debug, Clone, PartialEq, Eq, Hash)]
#[derive(SystemLabel)]
pub enum FighterSystemLabels {
    InputWrite,
    InputRead,
    PhysicsUpdate,
    PhysicsExecute,
}