回答編集履歴
1
追記
test
CHANGED
@@ -22,20 +22,18 @@
|
|
22
22
|
|
23
23
|
self.rect.centery = y
|
24
24
|
|
25
|
-
|
25
|
+
self.t = t
|
26
26
|
|
27
27
|
|
28
28
|
|
29
29
|
class fire(Obj):
|
30
30
|
|
31
|
-
|
31
|
+
def move(self):
|
32
32
|
|
33
33
|
x = start_x + self.t
|
34
34
|
|
35
35
|
y = start_y + self.t
|
36
36
|
|
37
|
-
|
37
|
+
self.t += 1
|
38
|
-
|
39
|
-
|
40
38
|
|
41
39
|
```
|