mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-28 14:12:52 -06:00
17 lines
356 B
Python
Executable file
17 lines
356 B
Python
Executable file
|
|
|
|
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__()
|