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.
|
import pygame |
|
from beings import * |
|
|
|
class Surface: |
|
def __init__(self,name): |
|
if str(name) == 'killsurf': |
|
self.width = windowX |
|
self.height = windowY |
|
self.color = (30,70,40) |
|
|
|
def place(self,window,surf_x,surf_y): |
|
pygame.draw.rect(window,self.color,(surf_x,surf_y,self.width,self.height))
|
|
|