Exemplo n.º 1
0
def placeItemInRoom(item_key, room_key):
    itemForKey = getItem(item_key)
    roomForKey = room.getRoom(room_key)
    itemForKey.changeOwner(roomForKey)
Exemplo n.º 2
0
def placeAgentInRoom(agent_key, room_key):
    agentForKey = getAgent(agent_key)
    roomForKey = room.getRoom(room_key)
    agentForKey.changeOwner(roomForKey)