summaryrefslogtreecommitdiff
path: root/src/game/player.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/player.rs')
-rw-r--r--src/game/player.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/game/player.rs b/src/game/player.rs
index 8b63f9f..3d86c6d 100644
--- a/src/game/player.rs
+++ b/src/game/player.rs
@@ -14,8 +14,6 @@ pub struct Worm {
pub id: i32,
pub health: i32,
pub position: Point2d<i8>,
- pub weapon_damage: i32,
- pub weapon_range: u8,
pub bombs: u8,
pub snowballs: u8,
pub rounds_until_unfrozen: u8,
@@ -113,8 +111,6 @@ mod test {
id: 1,
health: 50,
position: Point2d::new(0, 0),
- weapon_damage: 5,
- weapon_range: 5,
rounds_until_unfrozen: 0,
bombs: 0,
snowballs: 0,
@@ -123,8 +119,6 @@ mod test {
id: 2,
health: 10,
position: Point2d::new(0, 0),
- weapon_damage: 5,
- weapon_range: 5,
rounds_until_unfrozen: 0,
bombs: 0,
snowballs: 0,
@@ -133,8 +127,6 @@ mod test {
id: 3,
health: -2,
position: Point2d::new(0, 0),
- weapon_damage: 5,
- weapon_range: 5,
rounds_until_unfrozen: 0,
bombs: 0,
snowballs: 0,
@@ -162,8 +154,6 @@ mod test {
id: 1,
health: 0,
position: Point2d::new(0, 0),
- weapon_damage: 5,
- weapon_range: 5,
rounds_until_unfrozen: 0,
bombs: 0,
snowballs: 0,
@@ -172,8 +162,6 @@ mod test {
id: 2,
health: 10,
position: Point2d::new(0, 0),
- weapon_damage: 5,
- weapon_range: 5,
rounds_until_unfrozen: 0,
bombs: 0,
snowballs: 0,
@@ -182,8 +170,6 @@ mod test {
id: 3,
health: 2,
position: Point2d::new(0, 0),
- weapon_damage: 5,
- weapon_range: 5,
rounds_until_unfrozen: 0,
bombs: 0,
snowballs: 0,
@@ -211,8 +197,6 @@ mod test {
id: 1,
health: 0,
position: Point2d::new(0, 0),
- weapon_damage: 5,
- weapon_range: 5,
rounds_until_unfrozen: 0,
bombs: 0,
snowballs: 0,
@@ -221,8 +205,6 @@ mod test {
id: 2,
health: 10,
position: Point2d::new(0, 0),
- weapon_damage: 5,
- weapon_range: 5,
rounds_until_unfrozen: 0,
bombs: 0,
snowballs: 0,
@@ -231,8 +213,6 @@ mod test {
id: 3,
health: 2,
position: Point2d::new(0, 0),
- weapon_damage: 5,
- weapon_range: 5,
rounds_until_unfrozen: 0,
bombs: 0,
snowballs: 0,
@@ -260,8 +240,6 @@ mod test {
id: 1,
health: -10,
position: Point2d::new(0, 0),
- weapon_damage: 5,
- weapon_range: 5,
rounds_until_unfrozen: 0,
bombs: 0,
snowballs: 0,