From 1b401b46b2a230c5ae59002e4ca2ac47e306a4ff Mon Sep 17 00:00:00 2001 From: Mark Date: Sun, 2 Mar 2025 20:36:01 -0800 Subject: [PATCH] Dead code --- tetros/src/game/falling.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tetros/src/game/falling.rs b/tetros/src/game/falling.rs index ef25a8b..b0e664b 100644 --- a/tetros/src/game/falling.rs +++ b/tetros/src/game/falling.rs @@ -62,6 +62,7 @@ impl Direction { } } + /* pub fn rot_ccw(self) -> Self { match self { Self::North => Self::West, @@ -70,6 +71,7 @@ impl Direction { Self::East => Self::North, } } + */ } #[derive(Debug, Clone)] @@ -124,9 +126,11 @@ impl FallingTetromino { self.direction = self.direction.rot_cw() } + /* pub fn rotate_ccw(&mut self) { self.direction = self.direction.rot_ccw() } + */ /// Returns the positions of this falling tetromino's tiles. pub fn tiles(&self) -> [(usize, usize); 4] {