You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# Enemy.py
|
|
import pygame
|
|
|
|
|
|
class Enemy(pygame.sprite.Sprite):
|
|
def __init__(self):
|
|
super(Enemy, self).__init__()
|
|
self.speed = 4
|
|
self.live = True
|
|
self.stop = False
|
|
self.distance = 80
|
|
self.distance_count = self.distance
|