toontown-just-works/toontown/parties/DecorBase.py

18 lines
356 B
Python
Raw Permalink Normal View History

2024-07-07 18:08:39 -05:00
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__()