moved some things around.

Signed-off-by: Sienna Meridian Satterwhite <sienna@r3t.io>
This commit is contained in:
2025-12-14 21:25:52 +00:00
parent 5493faa1f1
commit 70735a33a5
16 changed files with 861 additions and 298 deletions

View File

@@ -7,7 +7,7 @@ use bevy::prelude::*;
use bevy::input::keyboard::KeyboardInput;
use bevy::input::mouse::{MouseButtonInput, MouseWheel};
use bevy::window::CursorMoved;
use libmarathon::engine::{InputEvent, InputEventBuffer, KeyCode as EngineKeyCode, MouseButton as EngineMouseButton, TouchPhase, Modifiers};
use libmarathon::platform::input::{InputEvent, InputEventBuffer, KeyCode as EngineKeyCode, MouseButton as EngineMouseButton, TouchPhase, Modifiers};
/// Convert Bevy's Vec2 to glam::Vec2
///

View File

@@ -2,4 +2,4 @@
//!
//! InputEventBuffer is now defined in libmarathon::engine
pub use libmarathon::engine::InputEventBuffer;
pub use libmarathon::platform::input::InputEventBuffer;

View File

@@ -4,7 +4,8 @@
use bevy::prelude::*;
use libmarathon::{
engine::{GameAction, InputController},
engine::GameAction,
platform::input::InputController,
networking::{EntityLockRegistry, NetworkedEntity, NetworkedSelection, NodeVectorClock},
};

View File

@@ -3,7 +3,7 @@
//! This module integrates the platform-agnostic pencil bridge with Bevy.
use bevy::prelude::*;
use libmarathon::{engine::InputEvent, platform::ios};
use libmarathon::{platform::input::InputEvent, platform::ios};
pub struct PencilInputPlugin;