Ejemplo n.º 1
0
        public static ThreadEntity Create()
        {
            ThreadComponent threadComponent = Game.Scene.GetComponent <ThreadComponent>();
            ThreadEntity    threadEntity    = ComponentFactory.Create <ThreadEntity>();

            threadComponent.Add(threadEntity);
            return(threadEntity);
        }
Ejemplo n.º 2
0
 public void Add(ThreadEntity entity)
 {
     this.mThreadEnties.Add(entity.Id, entity);
 }