AddLiving() private method

private AddLiving ( LivingObject living ) : void
living LivingObject
return void
示例#1
0
        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));
        }
示例#2
0
 protected override void Initialize(World world)
 {
     base.Initialize(world);
     world.AddLiving(this);
     world.TickStarting += OnTickStart;
 }
示例#3
0
        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));
        }