diff options
author | Diego Roversi <diegor@tiscali.it> | 2019-09-20 10:59:44 +0200 |
---|---|---|
committer | Diego Roversi <diegor@tiscali.it> | 2019-09-20 10:59:44 +0200 |
commit | 41dcc63938e33f88ba0925f24d9835ab478e194d (patch) | |
tree | 8959720fd77bbd6c9a506e08097982e4da0650e0 /bubbob/ext3 | |
parent | 27342a12e0f75fdb692186f6efdb3c4ed8fed09d (diff) |
fix class attribute
Diffstat (limited to 'bubbob/ext3')
-rw-r--r-- | bubbob/ext3/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bubbob/ext3/__init__.py b/bubbob/ext3/__init__.py index f5408c1..e5f91c8 100644 --- a/bubbob/ext3/__init__.py +++ b/bubbob/ext3/__init__.py @@ -128,8 +128,8 @@ class Shot(Bubble): class Alien(monsters.Monster): ANGLES = 32 SPEED = 5 - ANGLE_TABLE = [(SPEED * math.cos(a*2.0*math.pi/ANGLES), - -SPEED * math.sin(a*2.0*math.pi/ANGLES)) + ANGLE_TABLE = [(5 * math.cos(a*2.0*math.pi/32), + -5 * math.sin(a*2.0*math.pi/32)) for a in range(ANGLES)] touchable = 0 |