function ReferenceTC(callBack)
{
	this.m_callback = callBack;
}

ReferenceTC.prototype = new EventController();
ReferenceTC.prototype.constructor = ReferenceTC;
ReferenceTC.prototype.name = "referenceTile";

ReferenceTC.prototype.nodeClicked = function(nodeId)
{
	this.setEvent("E_REFNODE_CLICKED");
	m_selectedNodeId = nodeId;
    this.m_callback(this);
}

ReferenceTC.prototype.getSelectedNodeId = function()
{
	return this.m_selectedNodeId;
}