2019-04-09 22:38:22 +02:00
|
|
|
package it.cavallium.warppi.gui.graphicengine.impl.jogl;
|
|
|
|
|
|
|
|
import it.cavallium.warppi.device.display.DisplayOutputDevice;
|
|
|
|
|
|
|
|
public class JOGLDisplayOutputDevice implements DisplayOutputDevice {
|
2019-10-25 13:58:49 +02:00
|
|
|
private JOGLEngine engine;
|
2019-04-09 22:38:22 +02:00
|
|
|
|
2019-10-25 13:58:49 +02:00
|
|
|
public JOGLDisplayOutputDevice() {
|
|
|
|
this.engine = new JOGLEngine();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int[] getDisplaySize() {
|
|
|
|
return engine.getSize();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public JOGLEngine getGraphicEngine() {
|
|
|
|
return engine;
|
|
|
|
}
|
2019-04-09 22:38:22 +02:00
|
|
|
}
|