mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 12:25:02 +01:00
delete
This commit is contained in:
parent
98dd54f1f2
commit
62107a20d8
21 changed files with 138 additions and 459 deletions
|
|
@ -7,30 +7,27 @@ use crate::{
|
|||
world::{TPosSc, TilePos},
|
||||
};
|
||||
#[derive(Debug, Inspect, Serialize, Deserialize)]
|
||||
pub struct Player {
|
||||
pub(crate) struct Player {
|
||||
#[inspect_with(inspect_mobile_entity)]
|
||||
pub col_en: MobileEntity,
|
||||
pub vspeed: f32,
|
||||
pub hspeed: f32,
|
||||
pub jumps_left: u8,
|
||||
/// true if the player wants to jump down from a platform
|
||||
pub down_intent: bool,
|
||||
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 fn new_at(pos: WorldPos) -> Self {
|
||||
pub(crate) fn new_at(pos: WorldPos) -> Self {
|
||||
loop {}
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
pub fn center_tp(&self) -> TilePos {
|
||||
pub(crate) fn center_tp(&self) -> TilePos {
|
||||
loop {}
|
||||
}
|
||||
pub fn can_jump(&self) -> bool {
|
||||
pub(crate) fn can_jump(&self) -> bool {
|
||||
loop {}
|
||||
}
|
||||
pub fn feet_y(&self) -> i32 {
|
||||
pub(crate) fn feet_y(&self) -> i32 {
|
||||
loop {}
|
||||
}
|
||||
pub(crate) fn save(&self, path: &Path) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue