View Single Post
Old Dec 1st, 2006, 12:49 AM   #46
aznballerlee
Hobbyist Programmer
 
Join Date: Nov 2006
Posts: 111
Rep Power: 2 aznballerlee is on a distinguished road
Oops But this doesn't compile well either:
//    If as a result of the attempt to move, the robot is at an energy
//       source, it's recharged to the FULL_ENERGY level.

	if (energySourceAt(m_row, m_col))
		m_energy = FULL_ENERGY;
error C3861: 'energySourceAt': identifier not found

This is under the Robot:step()
aznballerlee is offline   Reply With Quote