Package com.prineside.tdi2
Class GameSystem
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.GameSystem
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,com.esotericsoftware.kryo.KryoSerializable
- Direct Known Subclasses:
AbilitySystem
,AchievementSystem
,BonusSystem
,BuffSystem
,CachedRenderingSystem
,EnemySystem
,ExplosionSystem
,GameMapSelectionSystem
,GameplayModSystem
,GameUiSystem
,GameValueSystem
,HotKeySystem
,InputSystem
,InventorySystem
,LootSystem
,MapEditorSystem
,MapEditorUiSystem
,MapRenderingSystem
,MapSystem
,MinerSystem
,ModifierSystem
,ParticleSystem
,PathfindingSystem
,PathRenderingSystem
,ProjectileSystem
,ProjectileTrailSystem
,QuestSystem
,RenderSystem
,ScriptSystem
,SoundSystem
,StateSystem
,StatisticsSystem
,TowerSystem
,UnitSystem
,WaveSystem
-
Field Summary
Fields inherited from class com.prineside.tdi2.Registrable
S
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
void
dispose()
Releases all resources of this object.int
abstract String
void
Произвести окончательную настройку системы.void
boolean
Нужно ли учитывать время выполнения update() в Debugvoid
setup()
Произвести начальную настройку системы.void
update
(float deltaTime) Methods inherited from class com.prineside.tdi2.Registrable
isRegistered, read, setRegistered, setUnregistered, write
-
Constructor Details
-
GameSystem
public GameSystem()
-
-
Method Details
-
getFastStateHash
public int getFastStateHash() -
affectsGameState
public abstract boolean affectsGameState() -
setup
public void setup()Произвести начальную настройку системы. На момент вызова этого метода, systemProvider содержит объекты всех систем. -
postSetup
public void postSetup()Произвести окончательную настройку системы. Во время вызова, все системы загружены и установлены (setup()), все слушатели добавлены -
postStateRestore
public void postStateRestore() -
update
public void update(float deltaTime) -
profileUpdate
public boolean profileUpdate()Нужно ли учитывать время выполнения update() в Debug -
getSystemName
-
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
-