10 lines
188 B
Python
10 lines
188 B
Python
|
import pygame
|
||
|
|
||
|
class Enemy():
|
||
|
def __init__(self,x,y):
|
||
|
self.x,self.y=x,y
|
||
|
|
||
|
def draw(self,screen):
|
||
|
pygame.draw.circle(screen,'black',(self.x,self.y),8)
|
||
|
|
||
|
def update(self,events): pass
|