mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-17 21:05:01 +01:00
Add torches
This commit is contained in:
parent
704819a988
commit
77099ab8a6
13 changed files with 427 additions and 133 deletions
|
|
@ -34,6 +34,7 @@ impl Player {
|
|||
jumps_left: 0,
|
||||
}
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
pub fn center_tp(&self) -> TilePos {
|
||||
TilePos {
|
||||
x: (self.col_en.en.pos.x / TILE_SIZE as i32) as TilePosScalar,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue