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
Modifier and TypeClassDescriptionstatic enum
static interface
-
Field Summary
Modifier and TypeFieldDescriptionboolean
final com.badlogic.gdx.utils.ObjectSet<SpaceTileBonusType>
Fields inherited from class com.prineside.tdi2.Registrable
S
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
dispose()
Releases all resources of this object.void
drawBatch
(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) void
drawStains
(com.badlogic.gdx.graphics.g2d.Batch batch) void
drawTiles
(com.badlogic.gdx.graphics.OrthographicCamera camera) void
drawTilesExtras
(com.badlogic.gdx.graphics.OrthographicCamera camera) void
drawTowers
(com.badlogic.gdx.graphics.OrthographicCamera camera) void
forceTilesRedraw
(boolean redrawTileBase) void
void
postDrawBatch
(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) boolean
Нужно ли учитывать время выполнения update() в Debugvoid
void
setup()
Произвести начальную настройку системы.void
Also sets the custom settingMethods inherited from class com.prineside.tdi2.GameSystem
getFastStateHash, postSetup, postStateRestore, update
Methods 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
-
-
Constructor Details
-
MapRenderingSystem
public MapRenderingSystem()
-
-
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
-
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.Disposable
Releases all resources of this object.- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
- Overrides:
dispose
in classGameSystem
-