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] {