|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
[appleeaters]accessing objects attributes
hello everybody
i just have a very short question: are we allowed to use robot's object attributes instead of using the array the method call for move() is generating? i would like to extend the robot's class to include my intelligence to my robot. and i think it will be more efficient to use object's attributes than taking the return array of the method move(). thanks in advance. regards, andreas |
|
#2
|
|||
|
|||
|
[appleeaters]RE: accessing objects attributes
sorry, but you're out of luck. this has been asked and answered several times already. i'd suggest reading through this message board, because a lot of those kinds of questions have already been asked and answered. the only interfaces to the robot class allowed are move() and start(). Any intellegence you build has to operate off of the return from the move() function. sure, this does limit us, but that's part of the contest.
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > [appleeaters]accessing objects attributes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|