Package com.prineside.tdi2.systems
Class InventorySystem
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.GameSystem
com.prineside.tdi2.systems.InventorySystem
- 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 TypeMethodDescriptionConvenience methodConvenience methodbooleanvoiddispose()Releases all resources of this object.voidgetItemsByCategory(ItemSubcategoryType category, com.badlogic.gdx.utils.Array<ItemStack> out) booleanНужно ли учитывать время выполнения update() в DebugbooleanbooleanvoidMethods inherited from class com.prineside.tdi2.GameSystem
getFastStateHash, postSetup, postStateRestore, setup, updateMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, read, setRegistered, setUnregistered, write 
- 
Field Details
- 
items
 - 
listeners
 
 - 
 - 
Constructor Details
- 
InventorySystem
public InventorySystem() 
 - 
 - 
Method Details
- 
affectsGameState
public boolean affectsGameState()- Specified by:
 affectsGameStatein classGameSystem
 - 
getItemsByCategory
public void getItemsByCategory(ItemSubcategoryType category, com.badlogic.gdx.utils.Array<ItemStack> out)  - 
setItems
 - 
add
 - 
addTile
Convenience method - 
addGate
Convenience method - 
remove
 - 
remove
 - 
listDebug
 - 
profileUpdate
public boolean profileUpdate()Description copied from class:GameSystemНужно ли учитывать время выполнения update() в Debug- Overrides:
 profileUpdatein classGameSystem
 - 
getSystemName
- Specified by:
 getSystemNamein classGameSystem
 - 
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
 
 -