class ProjectileType
    bool homing
    real arc
    string sfx
    real speed
    FunctionCallData onImpactFunc
 
    construct(string sfx, real arc, real speed, bool homing, code onImpactFunc)
        this.sfx = sfx
        this.arc = arc
        this.speed = speed
        this.homing = homing
        this.onImpactFunc = new FunctionCallData(onImpactFunc)

goto line:
Compare with:
text copy window edit this code post new code