1
0

Dead code

This commit is contained in:
Mark 2025-03-02 20:36:01 -08:00
parent f5ede33bc8
commit 1b401b46b2
Signed by: Mark
GPG Key ID: C6D63995FE72FD80

View File

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