package cz.cuni.amis.pogamut.ut2004.communication.messages;

import java.util.HashMap;
import java.util.Map;

/**
 * Translator String UnrealID <-> Int UnrealId.
 * <p><p>
 * It holds maps for translating string UnrealID into int id, every new string UnrealID is given a unique 
 * number and returned.
 */
public class UnrealIdTranslator {
	
	/**
	 * Returns UnrealId object for a specified string, creates a new one if none exists.
	 * 
	 * @param unrealId
	 * @return
	 */
	public UnrealId getId(String unrealId) {
		return UnrealId.get(unrealId);
	}
	
}
