From 41dcc63938e33f88ba0925f24d9835ab478e194d Mon Sep 17 00:00:00 2001 From: Diego Roversi Date: Fri, 20 Sep 2019 10:59:44 +0200 Subject: fix class attribute --- bubbob/ext3/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bubbob/ext3') 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 -- cgit v1.2.3