This commit is contained in:
gac-S_Changer
2018-09-20 18:07:54 +02:00
parent e82c487e33
commit 7deba9eee4
16 changed files with 3895 additions and 95 deletions

View File

@@ -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