Refactor loading

This commit is contained in:
2026-08-26 19:08:58 +02:00
parent 4ff388f9c0
commit 21a5170dbc
40 changed files with 1034 additions and 426 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
use bevy::prelude::*;
use crate::fighter::{*};
use crate::fighter::*;
pub fn integrate_gravity(velocity: &mut FighterVelocity, attributes: &FighterAttributes) {
velocity.y -= attributes.gravity;
@@ -15,4 +15,4 @@ pub fn apply_air_motion(
// Vertical velocity should be 0 on the ground
prev_translation.0 = translation.0;
translation.0 += velocity.0;
}
}