Finish removal of Position

The component has been completely removed, and all call sites are fixed
to use the Transform directly.
This commit is contained in:
2025-08-09 15:10:44 -05:00
parent e834d94b8a
commit 3922cac3d7
3 changed files with 3 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
use crate::{
GameAssets, Rotation,
physics::{Position, Velocity, Wrapping},
physics::{Velocity, Wrapping},
};
use bevy::prelude::*;
@@ -18,7 +18,6 @@ pub fn spawn_player(mut commands: Commands, game_assets: Res<GameAssets>) {
ActiveCollisionTypes::STATIC_STATIC,
Ship,
Wrapping,
Position(Vec2::default()),
Velocity(Vec2::ZERO),
Rotation(0.0),
Mesh2d(game_assets.ship().0),