Package com.prineside.tdi2.systems
Class PathRenderingSystem
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.GameSystem
com.prineside.tdi2.systems.PathRenderingSystem
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable,com.esotericsoftware.kryo.KryoSerializable
-
Nested Class Summary
Nested Classes -
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.voiddraw(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) voidПроизвести окончательную настройку системы.booleanНужно ли учитывать время выполнения update() в DebugvoidvoidsetPaths(com.badlogic.gdx.utils.Array<PathRenderingSystem.PathEnemyPair> pairs) voidsetup()Произвести начальную настройку системы.voidMethods inherited from class com.prineside.tdi2.GameSystem
getFastStateHash, postStateRestore, updateMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, read, setRegistered, setUnregistered, write
-
Field Details
-
dontDrawOverPlatforms
public boolean dontDrawOverPlatforms
-
-
Constructor Details
-
PathRenderingSystem
public PathRenderingSystem()
-
-
Method Details
-
affectsGameState
public boolean affectsGameState()- Specified by:
affectsGameStatein classGameSystem
-
setup
public void setup()Description copied from class:GameSystemПроизвести начальную настройку системы. На момент вызова этого метода, systemProvider содержит объекты всех систем.- Overrides:
setupin classGameSystem
-
postSetup
public void postSetup()Description copied from class:GameSystemПроизвести окончательную настройку системы. Во время вызова, все системы загружены и установлены (setup()), все слушатели добавлены- Overrides:
postSetupin classGameSystem
-
profileUpdate
public boolean profileUpdate()Description copied from class:GameSystemНужно ли учитывать время выполнения update() в Debug- Overrides:
profileUpdatein classGameSystem
-
getSystemName
- Specified by:
getSystemNamein classGameSystem
-
draw
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) -
setPaths
-
updatePathTracesRendering
public void updatePathTracesRendering() -
removePaths
public void removePaths() -
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.DisposableReleases all resources of this object.- Specified by:
disposein interfacecom.badlogic.gdx.utils.Disposable- Overrides:
disposein classGameSystem
-