Apparently the bounce is still broken. It always was.

This commit is contained in:
2024-05-09 00:44:04 +02:00
parent c75c598a53
commit 97435fbd4e
3 changed files with 129 additions and 72 deletions

View File

@@ -1,10 +1,10 @@
#[derive(Clone, Debug)]
pub struct Direction {
pub struct Coord {
pub x: isize,
pub y: isize
}
impl Direction {
impl Coord {
pub fn new(x: isize, y: isize) -> Self {
Self { x, y }
}