protected override void Initialize(World world) { base.Initialize(world); world.AddLiving(this); world.TickEnding += OnTickEnding; world.TickStarted += OnTickStarted; this.Trace = new MyTraceSource("Server.LivingObject", String.Format("{0} ({1})", this.Name ?? this.LivingInfo.Name, this.ObjectID)); }
protected override void Initialize(World world) { base.Initialize(world); world.AddLiving(this); world.TickStarting += OnTickStart; }