My OOP practice project
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.

14 lines
244 B

4 years ago
import pygame
class surface:
def __init__(self,name):
self.surf_name = name
if self.surf_name == 'kill':
killsurf()
4 years ago
4 years ago
def killsurf(self):
pass
4 years ago
def place(self,name,pos,width,height):
pass