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 |
|
|
|
class Surface: |
|
def __init__(self): |
|
self.width = 64 |
|
self.height = 64 |
|
|
|
def killsurf(self): #Don`t quite understand what I`ll do with these |
|
pass |
|
|
|
def place(self,window,surf_x,surf_y): |
|
pygame.draw.rect(window,(100,200,240),(surf_x,surf_y,self.width,self.height))
|
|
|