summaryrefslogtreecommitdiff
path: root/src/ship.rs
blob: fd55ca948a371d096722b44d9e01361b26db18b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Serialize, Deserialize, Debug)]
pub struct Ship {
    pub location : (isize, isize, isize)
}

impl Ship {
    pub fn new() -> Ship {
        Ship {
            location : (0,0,0)
        }
    }
}