28 lines
1.2 KiB
TypeScript
28 lines
1.2 KiB
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { CharactersModule } from '../characters/characters.module';
|
|
import { Character } from '../characters/entities/character.entity';
|
|
import { Hunt } from '../hunting/entities/hunt.entity';
|
|
import { HuntEncounter } from '../hunting/entities/hunt-encounter.entity';
|
|
import { MonsterDefinition } from '../monsters/entities/monster-definition.entity';
|
|
import { RewardsModule } from '../rewards/rewards.module';
|
|
import { TravelModule } from '../travel/travel.module';
|
|
import { CombatEngineService } from './combat-engine.service';
|
|
import { CombatController } from './combat.controller';
|
|
import { CombatService } from './combat.service';
|
|
import { Combat } from './entities/combat.entity';
|
|
import { CombatEvent } from './entities/combat-event.entity';
|
|
import { HuntEncounterAttackController } from './hunt-encounter-attack.controller';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([Character, Hunt, HuntEncounter, MonsterDefinition, Combat, CombatEvent]),
|
|
TravelModule,
|
|
CharactersModule,
|
|
RewardsModule,
|
|
],
|
|
controllers: [CombatController, HuntEncounterAttackController],
|
|
providers: [CombatService, CombatEngineService],
|
|
})
|
|
export class CombatModule {}
|