import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { NbMenuItem } from '@nebular/theme';
import { AvalonComponent } from './avalon/avalon.component';
import { GamesComponent } from './games.component';
import { HeroDashboardComponent } from './massive-darkness2/hero-dashboard/hero-dashboard.component';
import { MassiveDarkness2Component } from './massive-darkness2/massive-darkness2.component';
import { MD2MobInfoMaintenanceComponent } from './massive-darkness2/md2-mob-info-maintenance/md2-mob-info-maintenance.component';
import { MD2HeroProfileMaintenanceComponent } from './massive-darkness2/md2-hero-profile-maintenance/md2-hero-profile-maintenance.component';
export class GameRoomMenuConfig {
  public static HostMenu: NbMenuItem[] = [

    {
      title: 'Dashboard',
      icon: 'people-outline',
      children: [
        {
          title: '小組禱告',
          //icon: 'people-outline',
          link: '/games/MD2'
        },
      ],
    },
  ];

  public static PlayerMenu: NbMenuItem[] = [

    {
      title: 'Hero Dashboard',
      icon: 'people-outline',
      children: [
        {
          title: '小組禱告',
          //icon: 'people-outline',
          link: '/myapp/prayer'
        },
      ],
    },
  ];
}
const routes: Routes = [
  {
    path: '', component: GamesComponent
    ,

    children:
      [
        { path: 'avalon', component: AvalonComponent },
        { path: 'avalonHost', component: AvalonComponent },
        { path: 'MD2', component: MassiveDarkness2Component },
        { path: 'MD2_Hero/:roomId', component: HeroDashboardComponent },
        { path: 'MD2MobInfo', component: MD2MobInfoMaintenanceComponent },
        { path: 'MD2HeroProfile', component: MD2HeroProfileMaintenanceComponent },
      ]
  },

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class GamesRoutingModule { }
