public static void Awake(this ActorComponent self, IEntityActorHandler iEntityActorHandler)
 {
     self.entityActorHandler = iEntityActorHandler;
     self.queue   = new EQueue <ActorMessageInfo>();
     self.actorId = self.Entity.Id;
     Game.Scene.GetComponent <ActorManagerComponent>().Add(self.Entity);
     self.HandleAsync();
 }
Example #2
0
        public void Awake(IEntityActorHandler iEntityActorHandler)
        {
            this.entityActorHandler = iEntityActorHandler;

            this.actorId = this.Entity.Id;
            Game.Scene.GetComponent <ActorManagerComponent>().Add(this.Entity);
            this.HandleAsync();
        }
 public void Awake(IEntityActorHandler iEntityActorHandler)
 {
     this.Get().Awake(iEntityActorHandler);
 }
Example #4
0
 public static void Awake(this ActorComponent self, IEntityActorHandler iEntityActorHandler)
 {
     self.entityActorHandler = iEntityActorHandler;
     self.queue = new Queue <ActorMessageInfo>();
     self.HandleAsync();
 }
Example #5
0
 public void Awake(IEntityActorHandler iEntityActorHandler)
 {
     this.entityActorHandler = iEntityActorHandler;
 }
Example #6
0
 public void Awake()
 {
     this.entityActorHandler = new CommonEntityActorHandler();
 }