Package com.prineside.tdi2.systems
Class ScriptSystem
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.GameSystem
com.prineside.tdi2.systems.ScriptSystem
- All Implemented Interfaces:
 Disposable,KryoSerializable
- 
Field Summary
FieldsFields inherited from class com.prineside.tdi2.Registrable
S - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanvoiddispose()Releases all resources of this object.voidvoidrunScriptAction(String script) Скрипт вносится в действия игры, чтобы при продолжении игры он снова выполнился Только в режиме разработкиvoidsetup()Performs the initial configuration of the system.voidupdate(float deltaTime) voidMethods inherited from class com.prineside.tdi2.GameSystem
getFastStateHash, postSetup, postStateRestore, profileUpdateMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered, setUnregistered 
- 
Field Details
- 
CLASS_COMPARATOR
 - 
scriptEnvironment
 
 - 
 - 
Constructor Details
- 
ScriptSystem
public ScriptSystem() 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfaceKryoSerializable- Overrides:
 writein classRegistrable
 - 
read
- Specified by:
 readin interfaceKryoSerializable- Overrides:
 readin classRegistrable
 - 
affectsGameState
public boolean affectsGameState()- Specified by:
 affectsGameStatein 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
 - 
runScriptAction
Скрипт вносится в действия игры, чтобы при продолжении игры он снова выполнился Только в режиме разработки - 
update
public void update(float deltaTime) - Overrides:
 updatein classGameSystem
 - 
getSystemName
- Specified by:
 getSystemNamein classGameSystem
 - 
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
 
 -