Skip to content
Snippets Groups Projects

Development to testing

Merged Ghost User requested to merge Development into testing
7 files
+ 61
51
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -24,7 +24,6 @@ import { GameDTO, FlagboxEventDTO, GameStateDTO, newGameDTO } from './game.dto';
@@ -24,7 +24,6 @@ import { GameDTO, FlagboxEventDTO, GameStateDTO, newGameDTO } from './game.dto';
import { ValidationPipe } from '../shared/validation.pipe';
import { ValidationPipe } from '../shared/validation.pipe';
import { Roles, GameStates } from '../shared/guard.decorator';
import { Roles, GameStates } from '../shared/guard.decorator';
import { GameEntity } from './game.entity';
import { GameEntity } from './game.entity';
import { TickService } from './tick.service';
/////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////
/// GameController ///
/// GameController ///
@@ -37,13 +36,7 @@ import { TickService } from './tick.service';
@@ -37,13 +36,7 @@ import { TickService } from './tick.service';
@Controller('game')
@Controller('game')
export class GameController {
export class GameController {
constructor(
constructor(private gameservice: GameService) {}
private gameservice: GameService,
private tickservice: TickService,
) {
// starts timer
this.tickservice.startTimer();
}
//new game
//new game
@Post('new')
@Post('new')
Loading