namespace NT { /**
     * The base behavior type from which all behaviors should inherit.
     * This class cannot be instatiated directly.
     */ export abstract class BaseBehavior implements IBehavior { public name : string ; /**
         * The data associated with this behavior.
         */ protected _data : IBehaviorData ; /**
         * The owning entity of this behavior.
         */ protected _owner : TEntity ; param data public constructor ( data ) { this . _data = data ; this . name = this . _data . name ; } param owner public setOwner ( owner ) { this . _owner = owner ; } /**
         * Performs pre-update procedures on this behavior.
         */ public updateReady ( ) { } param time public update ( time ) { } param userData public apply ( userData ) { } } }