This commit is contained in:
@@ -11,4 +11,12 @@ def get_puck_info():
|
||||
|
||||
|
||||
def get_puck_obj(address):
|
||||
return BasePlate.getChild(address)
|
||||
return BasePlate.getChild(address)
|
||||
|
||||
|
||||
def get_puck_obj_by_id(puck_id):
|
||||
for puck in BasePlate.pucks:
|
||||
if puck.id == puck_id:
|
||||
return puck
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user