Skip to content
Snippets Groups Projects
Commit 132d11c0 authored by s2032074's avatar s2032074
Browse files

Constructor is created

parent 41e0be9a
No related branches found
No related tags found
No related merge requests found
# Block object which will be used in a corsi-blocks test
class Block:
#Constructor to initiate a block (square)
#x and y -- coordinates of the top left corner
#length -- the length of one side of the square
def __init__(self, x, y, length):
self.x = x
self.y = y
self.length = length
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment