Class Storage
Class for dynamic clearing not used elements.
Inherited Members
Namespace: Genesis.Core
Assembly: Genesis.dll
Syntax
public class Storage
Constructors
Storage()
Create a new Storage instance
Declaration
public Storage()
Properties
ManagedElements
Declaration
public List<GameElement> ManagedElements { get; set; }
Property Value
| Type | Description |
|---|---|
| List<GameElement> |
Methods
ManageElement(GameElement)
Add an element which get managed
Declaration
public void ManageElement(GameElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| GameElement | element |
Process(Game, Scene)
Removes disabled elements from the game and the garbage collector
Declaration
public void Process(Game game, Scene scene)
Parameters
| Type | Name | Description |
|---|---|---|
| Game | game | |
| Scene | scene |