Package: MemoryObserverFactoryImpl
MemoryObserverFactoryImpl
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MemoryObserverFactoryImpl() |
|
|
|
|
|
||||||||||||||||||||
createObserver() |
|
|
|
|
|
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: }