Game Development Reference
In-Depth Information
28.
//Tell the collectable that
this collector
29.
//is trying to collect it
30.
col.Collect (this);
31.
}
32.
}
33.
34.}
}
Listing 27: Script for collecting collectable objects
Search WWH ::




Custom Search