Package com.prineside.tdi2.systems
Class InputSystem
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.GameSystem
com.prineside.tdi2.systems.InputSystem
- All Implemented Interfaces:
Disposable,KryoSerializable
-
Field Summary
FieldsFields inherited from class com.prineside.tdi2.Registrable
S -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidvoiddispose()Releases all resources of this object.voidvoidvoidvoidPerforms the final configuration of the system.booleanShould the update() method be rendered on the debug overlayvoidsetup()Performs the initial configuration of the system.setupInputMultiplexer(boolean stage, boolean camera, boolean mouseEvents) Prepare and enable default input multiplexer with ability to disable particular processorsMethods inherited from class com.prineside.tdi2.GameSystem
getFastStateHash, postStateRestore, updateMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, read, setRegistered, setUnregistered, write
-
Field Details
-
cameraController
-
-
Constructor Details
-
InputSystem
public InputSystem()
-
-
Method Details
-
affectsGameState
public boolean affectsGameState()- Specified by:
affectsGameStatein classGameSystem
-
profileUpdate
public boolean profileUpdate()Description copied from class:GameSystemShould the update() method be rendered on the debug overlay- Overrides:
profileUpdatein classGameSystem
-
getSystemName
- Specified by:
getSystemNamein classGameSystem
-
setup
public void setup()Description copied from class:GameSystemPerforms the initial configuration of the system. At the moment of call, systemProvider already contains all objects of systems.- Overrides:
setupin classGameSystem
-
postSetup
public void postSetup()Description copied from class:GameSystemPerforms the final configuration of the system. At the moment of call, all systems are already loaded and setup(), all listeners are already added.- Overrides:
postSetupin classGameSystem
-
disableInput
public void disableInput() -
enableOnlyStage
public void enableOnlyStage() -
enableAllInput
public void enableAllInput() -
setupInputMultiplexer
public InputMultiplexerExtended setupInputMultiplexer(boolean stage, boolean camera, boolean mouseEvents) Prepare and enable default input multiplexer with ability to disable particular processors -
getInputProcessor
-
getCameraController
-
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.DisposableReleases all resources of this object.- Specified by:
disposein interfaceDisposable- Overrides:
disposein classGameSystem
-
draw
-