Remamed filtering to desktop
This commit is contained in:
parent
c2d5370073
commit
c118055812
|
@ -5,12 +5,12 @@ import com.badlogic.gdx.InputProcessor;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||||
|
|
||||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
public class FilteringInputProcessor implements InputProcessor {
|
public class DeskTopInputProcessor implements InputProcessor {
|
||||||
|
|
||||||
private final InputProcessor input;
|
private final InputProcessor input;
|
||||||
private boolean filtering = false;
|
private boolean filtering = false;
|
||||||
|
|
||||||
public FilteringInputProcessor(InputProcessor input) {
|
public DeskTopInputProcessor(InputProcessor input) {
|
||||||
this.input = input;
|
this.input = input;
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ import com.badlogic.gdx.utils.Array;
|
||||||
import love.distributedrebirth.gdxapp.desktop.DeskApp;
|
import love.distributedrebirth.gdxapp.desktop.DeskApp;
|
||||||
import love.distributedrebirth.gdxapp.desktop.DeskAppScreen;
|
import love.distributedrebirth.gdxapp.desktop.DeskAppScreen;
|
||||||
import love.distributedrebirth.gdxapp.desktop.DeskAppScreenListener;
|
import love.distributedrebirth.gdxapp.desktop.DeskAppScreenListener;
|
||||||
import love.distributedrebirth.gdxapp.desktop.FilteringInputProcessor;
|
import love.distributedrebirth.gdxapp.desktop.DeskTopInputProcessor;
|
||||||
import love.distributedrebirth.gdxapp.desktop.DeskTopScreen;
|
import love.distributedrebirth.gdxapp.desktop.DeskTopScreen;
|
||||||
|
|
||||||
public abstract class AbstractScreenDesktop extends ScreenAdapter implements DeskTopScreen {
|
public abstract class AbstractScreenDesktop extends ScreenAdapter implements DeskTopScreen {
|
||||||
|
@ -21,7 +21,7 @@ public abstract class AbstractScreenDesktop extends ScreenAdapter implements Des
|
||||||
private final DeskAppScreen deskAppScreen;
|
private final DeskAppScreen deskAppScreen;
|
||||||
private PerspectiveCamera cam;
|
private PerspectiveCamera cam;
|
||||||
private FirstPersonCameraController camController;
|
private FirstPersonCameraController camController;
|
||||||
private FilteringInputProcessor inputFilter;
|
private DeskTopInputProcessor inputFilter;
|
||||||
private ModelBatch modelBatch;
|
private ModelBatch modelBatch;
|
||||||
private Array<ModelInstance> modelInstances = new Array<ModelInstance>();
|
private Array<ModelInstance> modelInstances = new Array<ModelInstance>();
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ public abstract class AbstractScreenDesktop extends ScreenAdapter implements Des
|
||||||
camController = new FirstPersonCameraController(cam);
|
camController = new FirstPersonCameraController(cam);
|
||||||
//camController = new CameraInputController(cam);
|
//camController = new CameraInputController(cam);
|
||||||
|
|
||||||
inputFilter = new FilteringInputProcessor(camController);
|
inputFilter = new DeskTopInputProcessor(camController);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue