// PROTECTED METHODS protected override State updateState(Percept p) { DynamicPercept dp = (DynamicPercept)p; state.setAttribute(DynAttributeNames.AGENT_LOCATION, dp.getAttribute(DynAttributeNames.PERCEPT_IN)); return(state); }