Go to Post Look, it's only August. You got approximately 6 months to enjoy your life until season starts. Enjoy it while it lasts... - Arefin Bari [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 19-03-2013, 20:04
Negative 9 Negative 9 is offline
Registered User
FRC #0611
 
Join Date: Dec 2012
Location: Mclean, VA
Posts: 46
Negative 9 is an unknown quantity at this point
What's the difference between robotInit() and constructor in SimpleRobot?

Is there any functional difference between the robotInit() method and a constructor for a class extending SimpleRobot? I read the description in the API for robotInit() and it look likes it's supposed to do the exact same thing as a constructor.

My code works fine with just using the constructor, but my compilation messages keep recommending I provide robotInit() and disabled() methods so I was just curious.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 18:09.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi