Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
event handler/calling a method
Old
walleyewilly
Junior Member
 
walleyewilly's Avatar
 
Status: Offline
Posts: 9
Join Date: Mar 2012
Location: youngstown
Default event handler/calling a method - 04-03-2012, 10:57 AM

Hi, I am a new Alice user. I was wondering if there was a difference between calling a method via the even handler using the when the world starts event, or calling the method via the world.my first method. I get the same results doing it both ways, but I was curious if one way is proper over the other. Any insight would be appreciated, thanks, Willy
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 04-03-2012, 11:35 AM

Not too much difference. Slightly faster to call with the handler, but potentially more organized with the method calls.


(')>
   
Reply With Quote
Reply

Tags
calling the world, event handler, when the world starts


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.