home *** CD-ROM | disk | FTP | other *** search
- class TrailStars extends BaseObject
- {
- function TrailStars(__mcRef)
- {
- super(__mcRef);
- this.setState("Out");
- LevelManager.Instance.doAddListener(this);
- }
- function doDestroy()
- {
- LevelManager.Instance.doRemoveListener(this);
- super.doDestroy();
- }
- function doOut()
- {
- if(this.isStateComplete())
- {
- this.doDestroy();
- }
- }
- }
-