mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 13:12:30 -06:00
17 lines
356 B
Python
17 lines
356 B
Python
|
|
|
|
class DecorBase:
|
|
|
|
def __init__(self, decorId, x, y, h):
|
|
self.decorId = decorId
|
|
self.x = x
|
|
self.y = y
|
|
self.h = h
|
|
|
|
def __str__(self):
|
|
string = 'decorId=%d ' % self.decorId
|
|
string += '(%d,%d,%d) ' % (self.x, self.y, self.h)
|
|
return string
|
|
|
|
def __repr__(self):
|
|
return self.__str__()
|