armour
authoradrianna <adrianna.pinska@gmail.com>
Sat, 5 Mar 2016 22:25:57 +0000 (00:25 +0200)
committeradrianna <adrianna.pinska@gmail.com>
Sat, 5 Mar 2016 22:25:57 +0000 (00:25 +0200)
koperkapel/vehicles/base.py
koperkapel/vehicles/quadcopter.py
koperkapel/vehicles/robot.py
koperkapel/vehicles/roomba.py

index 258ffe0fee53e93229f2dcf1270e77c76cf2e506..fdc9b7f48e90bb12e6515ce0e4ad3ab4ff03d42f 100644 (file)
@@ -19,6 +19,7 @@ class Vehicle:
     approximate_radius = 200
     weapons_taped_on = True
     selected_seat_overlay_color = (255, 0, 0, 255)
+    armour = 0
 
     def __init__(self):
         self.seats = self.init_seats()
index 64f921f2edb989bec918055e7a93385e12ba7ee0..4370139783cfbad922cf27a216a5a1916a86d7d6 100644 (file)
@@ -7,6 +7,7 @@ class Quadcopter(Vehicle):
 
     vehicle_type = "quadcopter"
     overlay_frame_no = 1
+    armour = 5
 
     def init_seats(self):
         return circle_of_seats(4, vehicle=self)
index 8fe3fa93a88d65144cfa0f08bc3bca888290675e..de8799e9b482d88ee2add4b3c633ab15d385e6c6 100644 (file)
@@ -7,6 +7,7 @@ class Robot(Vehicle):
 
     vehicle_type = "robot"
     overlay_frame_no = 1
+    armour = 10
 
     def init_seats(self):
         return circle_of_seats(8, vehicle=self)
index c868763ad47f412626e36e4434ca5de793b58333..985abb153b02f70f919c3e224cd08e8509eb1c44 100644 (file)
@@ -7,6 +7,7 @@ class Roomba(Vehicle):
 
     vehicle_type = "roomba"
     overlay_frame_no = 1
+    armour = 2
 
     def init_seats(self):
         return circle_of_seats(6, vehicle=self)