Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/tanchiki/diff/c71c27b09bc7/user.py
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 18:23:21 2014
Кодировка:
tanchiki: user.py diff

tanchiki

diff user.py @ 16:c71c27b09bc7

Fixed and updated overall repository format. Removed CR's. Changed encoding to UTF-8. Removed trailing whitespace and unified the rest. Removed test code from vector.py.
author Peter Zotov <whitequark@whitequark.org>
date Mon, 20 Dec 2010 04:35:08 +0300
parents e6e7b30ecde0
children dfdc1def5d24
line diff
     1.1 --- a/user.py	Sun Dec 19 16:04:29 2010 +0300
     1.2 +++ b/user.py	Mon Dec 20 04:35:08 2010 +0300
     1.3 @@ -1,12 +1,15 @@
     1.4 -class User(object):	
     1.5 -
     1.6 -	def __init__(self, base_left = False , base_right = False, turret_left = False, turret_right = False, accelerate = False, decelerate = False, fire = False, tank = 0):
     1.7 -		self.base_left = base_left
     1.8 -		self.base_right = base_right
     1.9 -		self.turret_left = turret_left
    1.10 -		self.turret_right = turret_right
    1.11 -		self.accelerate = accelerate
    1.12 -		self.decelerate = decelerate
    1.13 -		self.fire = fire
    1.14 -		self.tank = tank
    1.15 -
    1.16 +class User(object):	
    1.17 +
    1.18 +	def __init__(self, base_left = False, base_right = False,
    1.19 +			   turret_left = False, turret_right = False,
    1.20 +			   accelerate = False, decelerate = False,
    1.21 +			   fire = False, tank = 0):
    1.22 +		self.base_left = base_left
    1.23 +		self.base_right = base_right
    1.24 +		self.turret_left = turret_left
    1.25 +		self.turret_right = turret_right
    1.26 +		self.accelerate = accelerate
    1.27 +		self.decelerate = decelerate
    1.28 +		self.fire = fire
    1.29 +		self.tank = tank
    1.30 +