Пример #1
0
def placeItemInRoom(item_key, room_key):
    itemForKey = getItem(item_key)
    roomForKey = room.getRoom(room_key)
    itemForKey.changeOwner(roomForKey)
Пример #2
0
def placeAgentInRoom(agent_key, room_key):
    agentForKey = getAgent(agent_key)
    roomForKey = room.getRoom(room_key)
    agentForKey.changeOwner(roomForKey)