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 TypeMethodDescriptionboolean
void
void
dispose()
Releases all resources of this object.void
void
void
void
Произвести окончательную настройку системы.boolean
Нужно ли учитывать время выполнения update() в Debugvoid
setup()
Произвести начальную настройку системы.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, update
Methods 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:
affectsGameState
in classGameSystem
-
profileUpdate
public boolean profileUpdate()Description copied from class:GameSystem
Нужно ли учитывать время выполнения update() в Debug- Overrides:
profileUpdate
in classGameSystem
-
getSystemName
- Specified by:
getSystemName
in classGameSystem
-
setup
public void setup()Description copied from class:GameSystem
Произвести начальную настройку системы. На момент вызова этого метода, systemProvider содержит объекты всех систем.- Overrides:
setup
in classGameSystem
-
postSetup
public void postSetup()Description copied from class:GameSystem
Произвести окончательную настройку системы. Во время вызова, все системы загружены и установлены (setup()), все слушатели добавлены- Overrides:
postSetup
in 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.Disposable
Releases all resources of this object.- Specified by:
dispose
in interfaceDisposable
- Overrides:
dispose
in classGameSystem
-
draw
-