mirror of
https://github.com/pim-n/pg-rad
synced 2026-02-02 14:33:09 +01:00
add representation for Source object
This commit is contained in:
@ -35,4 +35,7 @@ class Source(Object):
|
||||
super().__init__(x, y, z, name, color)
|
||||
|
||||
self.strength = strength
|
||||
self.color = color
|
||||
self.color = color
|
||||
|
||||
def __repr__(self):
|
||||
return f"Source(name={self.name}, strength={self.strength}, pos={(self.x, self.y, self.z)})"
|
||||
Reference in New Issue
Block a user