Skip to content

Package: GDDefaultMoveFactory

GDDefaultMoveFactory

nameinstructionbranchcomplexitylinemethod
GDDefaultMoveFactory()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
createQuietMove()
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
createStatementMove()
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: package de.fhdw.gaming.ipspiel22.gefangenenDilemma.moves.impl;
2:
3: import de.fhdw.gaming.ipspiel22.gefangenenDilemma.moves.GDMove;
4: import de.fhdw.gaming.ipspiel22.gefangenenDilemma.moves.factory.GDMoveFactory;
5:
6: /**
7: * Implements {@link GDMoveFactory}.
8: */
9: public class GDDefaultMoveFactory implements GDMoveFactory {
10:
11: @Override
12: public GDMove createQuietMove() {
13: return new GDQuietMove();
14: }
15:
16: @Override
17: public GDMove createStatementMove() {
18: return new GDStatementMove();
19: }
20:
21: }