- public module Projectile
- {
- static method create(real x, real y, real z) -> thistype
- {
- thistype this = thistype.allocate();
- static if (thistype.onCreate.exists)
- {
- this.onCreate();
- }
- return this;
- }
- method onDestroy()
- {
- static if (thistype.onRemove.exists)
- {
- this.onRemove();
- }
- }
- module T32x;
- }
