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,EnemySystem,ExplosionSystem,GameValueSystem,GraphicsSystem,InputSystem,InventorySystem,LootSystem,MapEditorSystem,MapRenderingSystem,MapSystem,MinerSystem,ModifierSystem,ParticleSystem,PathRenderingSystem,ProjectileSystem,ProjectileTrailSystem,QuestSystem,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 booleanvoiddispose()Releases all resources of this object.intabstract StringvoidПроизвести окончательную настройку системы.voidbooleanНужно ли учитывать время выполнения update() в Debugvoidsetup()Произвести начальную настройку системы.voidupdate(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.DisposableReleases all resources of this object.- Specified by:
disposein interfacecom.badlogic.gdx.utils.Disposable
-