mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 20:35:02 +01:00
manual
This commit is contained in:
parent
dac93f611b
commit
ded76b32b8
15 changed files with 39 additions and 261 deletions
|
|
@ -7,30 +7,4 @@ use crate::{
|
|||
world::{TPosSc, TilePos},
|
||||
};
|
||||
#[derive(Debug, Inspect, Serialize, Deserialize)]
|
||||
pub(crate) struct Player {
|
||||
#[inspect_with(inspect_mobile_entity)]
|
||||
pub(crate) col_en: MobileEntity,
|
||||
pub(crate) vspeed: f32,
|
||||
pub(crate) hspeed: f32,
|
||||
}
|
||||
fn inspect_mobile_entity(en: &mut MobileEntity, ui: &mut egui::Ui, _id_src: u64) {
|
||||
loop {}
|
||||
}
|
||||
impl Player {
|
||||
pub(crate) fn new_at(pos: WorldPos) -> Self {
|
||||
loop {}
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
pub(crate) fn center_tp(&self) -> TilePos {
|
||||
loop {}
|
||||
}
|
||||
pub(crate) fn can_jump(&self) -> bool {
|
||||
loop {}
|
||||
}
|
||||
pub(crate) fn feet_y(&self) -> i32 {
|
||||
loop {}
|
||||
}
|
||||
pub(crate) fn save(&self, path: &Path) {
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
pub(crate) struct Player {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue