Thread
:
Game: Robot (Class, Constructors)
View Single Post
Dec 1st, 2006, 12:52 AM
#
47
The Dark
Expert Programmer
Join Date: Jun 2005
Posts: 850
Rep Power:
4
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
View Public Profile
Find More Posts by The Dark