06-16-2009, 04:36 PM
|
#11 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
That's right. The __toObject function could be anything, and doesn't even need to be a part of the class itself.
Most people haven't heard of the ticks functionality. What it does is allows you to make a call to a function periodically. The ticks, essentially, relates to a line. So a tick of 1 would make a call to the registered tick function every line, and a tick of 2 every 2 lines.
Good for memory management, as I described in this thread.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|