Package com.prineside.tdi2.systems
Class MapRenderingSystem
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.GameSystem
com.prineside.tdi2.systems.MapRenderingSystem
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable,com.esotericsoftware.kryo.KryoSerializable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanfinal ListenerGroup<com.prineside.tdi2.systems.MapRenderingSystem.MapRenderingSystemListener>final com.badlogic.gdx.utils.ObjectSet<SpaceTileBonusType>Fields inherited from class com.prineside.tdi2.Registrable
S -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoiddispose()Releases all resources of this object.voiddrawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) voiddrawStains(com.badlogic.gdx.graphics.g2d.Batch batch) voiddrawTiles(com.badlogic.gdx.graphics.OrthographicCamera camera) voiddrawTilesExtras(com.badlogic.gdx.graphics.OrthographicCamera camera) voiddrawTowers(com.badlogic.gdx.graphics.OrthographicCamera camera) voidforceTilesRedraw(boolean redrawTileBase) voidvoidpostDrawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) booleanНужно ли учитывать время выполнения update() в Debugvoidvoidsetup()Произвести начальную настройку системы.voidAlso sets the custom settingMethods inherited from class com.prineside.tdi2.GameSystem
getFastStateHash, postSetup, postStateRestore, updateMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, read, setRegistered, setUnregistered, write
-
Field Details
-
spaceTileBonusesToDrawColoredOnFreeTiles
public final com.badlogic.gdx.utils.ObjectSet<SpaceTileBonusType> spaceTileBonusesToDrawColoredOnFreeTiles -
drawMapGrid
public boolean drawMapGrid -
listeners
public final ListenerGroup<com.prineside.tdi2.systems.MapRenderingSystem.MapRenderingSystemListener> listeners
-
-
Constructor Details
-
MapRenderingSystem
public MapRenderingSystem()
-
-
Method Details
-
affectsGameState
public boolean affectsGameState()- Specified by:
affectsGameStatein classGameSystem
-
profileUpdate
public boolean profileUpdate()Description copied from class:GameSystemНужно ли учитывать время выполнения update() в Debug- Overrides:
profileUpdatein classGameSystem
-
getSystemName
- Specified by:
getSystemNamein classGameSystem
-
setup
public void setup()Description copied from class:GameSystemПроизвести начальную настройку системы. На момент вызова этого метода, systemProvider содержит объекты всех систем.- Overrides:
setupin classGameSystem
-
switchMapDrawMode
public void switchMapDrawMode()Also sets the custom setting -
getDrawMode
-
forceTilesRedraw
public void forceTilesRedraw(boolean redrawTileBase) -
forceTowersRedraw
public void forceTowersRedraw() -
setDrawMode
-
drawTiles
public void drawTiles(com.badlogic.gdx.graphics.OrthographicCamera camera) -
drawStains
public void drawStains(com.badlogic.gdx.graphics.g2d.Batch batch) -
drawBatch
public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) -
postDrawBatch
public void postDrawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) -
drawTilesExtras
public void drawTilesExtras(com.badlogic.gdx.graphics.OrthographicCamera camera) -
drawTowers
public void drawTowers(com.badlogic.gdx.graphics.OrthographicCamera camera) -
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
-