Skip to content

Package: MemoryObserverFactoryImpl

MemoryObserverFactoryImpl

nameinstructionbranchcomplexitylinemethod
MemoryObserverFactoryImpl()
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%
createObserver()
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.memory.impl;
2:
3: import de.fhdw.gaming.core.domain.Observer;
4: import de.fhdw.gaming.core.domain.ObserverFactory;
5:
6: /**
7: * A factory for a game to hand over to the gaming framework. Allows the game to create the implemented observer.
8: */
9: public final class MemoryObserverFactoryImpl implements ObserverFactory {
10:
11: @Override
12: public Observer createObserver() {
13: return new MemoryObserverImpl();
14: }
15:
16: }