equal
deleted
inserted
replaced
26 Script(String), |
26 Script(String), |
27 Theme(String), |
27 Theme(String), |
28 DrawnMap(String), |
28 DrawnMap(String), |
29 } |
29 } |
30 |
30 |
31 #[derive(PartialEq, Eq, Clone, Debug)] |
31 #[derive(PartialEq, Eq, Clone, Debug, Default)] |
32 pub struct TeamInfo { |
32 pub struct TeamInfo { |
33 pub owner: String, |
33 pub owner: String, |
34 pub name: String, |
34 pub name: String, |
35 pub color: u8, |
35 pub color: u8, |
36 pub grave: String, |
36 pub grave: String, |
40 pub difficulty: u8, |
40 pub difficulty: u8, |
41 pub hedgehogs_number: u8, |
41 pub hedgehogs_number: u8, |
42 pub hedgehogs: [HedgehogInfo; MAX_HEDGEHOGS_PER_TEAM as usize], |
42 pub hedgehogs: [HedgehogInfo; MAX_HEDGEHOGS_PER_TEAM as usize], |
43 } |
43 } |
44 |
44 |
45 #[derive(PartialEq, Eq, Clone, Debug)] |
45 #[derive(PartialEq, Eq, Clone, Debug, Default)] |
46 pub struct HedgehogInfo { |
46 pub struct HedgehogInfo { |
47 pub name: String, |
47 pub name: String, |
48 pub hat: String, |
48 pub hat: String, |
49 } |
49 } |
50 |
50 |