View Single Post
Old Dec 1st, 2006, 12:52 AM   #47
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 850
Rep Power: 4 The Dark is on a distinguished road
The energySourceAt method is a method of Valley, so you must call it either from within another Valley method or using -> or . with a valley object.
The robot has a pointer to the Valley it is in in the m_valley member variable.
The Dark is offline   Reply With Quote