Exemplo n.º 1
0
        public NpcRoleEntity()
        {
            actionCom = new ActionComponent()
            {
                baseEntity = this
            };
            audioCom = new AudioComponent()
            {
                baseEntity = this
            };
            gameObjCom = new GameObjectComponent()
            {
                baseEntity = this
            };
            healthCom = new HealthComponent()
            {
                baseEntity = this
            };
            nameCom = new NameComponent()
            {
                baseEntity = this
            };

            npcAttCom = new NpcAttComponent()
            {
                baseEntity = this
            };
            pathCom = new PathComponent()
            {
                baseEntity = this
            };
            roleCom = new RoleComponent()
            {
                baseEntity = this
            };
            skillAttCom = new SkillAttComponent()
            {
                baseEntity = this
            };
            weaponCom = new WeaponComponent()
            {
                baseEntity = this
            };
        }
 public TransferEntity()
 {
     audioCom = new AudioComponent()
     {
         baseEntity = this
     };
     gameObjCom = new GameObjectComponent()
     {
         baseEntity = this
     };
     nameCom = new NameComponent()
     {
         baseEntity = this
     };
     transferIDCom = new TransferAttComponent()
     {
         baseEntity = this
     };
 }