22 lines
488 B
Java
22 lines
488 B
Java
package it.cavallium.warppi.gui.graphicengine.impl.jogl;
|
|
|
|
import it.cavallium.warppi.device.display.DisplayOutputDevice;
|
|
|
|
public class JOGLDisplayOutputDevice implements DisplayOutputDevice {
|
|
private JOGLEngine engine;
|
|
|
|
public JOGLDisplayOutputDevice() {
|
|
this.engine = new JOGLEngine();
|
|
}
|
|
|
|
@Override
|
|
public int[] getDisplaySize() {
|
|
return engine.getSize();
|
|
}
|
|
|
|
@Override
|
|
public JOGLEngine getGraphicEngine() {
|
|
return engine;
|
|
}
|
|
}
|