Skip to content

Package: GDDefaultMoveFactory

GDDefaultMoveFactory

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

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: }