Interface IExtensionLoader
Interface for the Extension Loader.
Namespace: OctoAwesome
Assembly: OctoAwesome.dll
Syntax
public interface IExtensionLoader
Eigenschaften
ActiveExtensions
List of active Extensions
Deklaration
List<IExtension> ActiveExtensions { get; }
Wert der Eigenschaft
Typ | Beschreibung |
---|---|
List<IExtension> |
LoadedExtensions
List of Loaded Extensions
Deklaration
List<IExtension> LoadedExtensions { get; }
Wert der Eigenschaft
Typ | Beschreibung |
---|---|
List<IExtension> |
Methoden
ApplyExtensions(IList<IExtension>)
Activate the Extenisons
Deklaration
void ApplyExtensions(IList<IExtension> extensions)
Parameter
Typ | Name | Beschreibung |
---|---|---|
IList<IExtension> | extensions | List of Extensions |
RegisterDefaultEntityExtender<T>()
Adds the Default Extender for the given Entity Type.
Deklaration
void RegisterDefaultEntityExtender<T>()where T : Entity
Typparameter
Name | Beschreibung |
---|---|
T | Entity Type |
RegisterDefinition(IDefinition)
Registers a new Definition.
Deklaration
void RegisterDefinition(IDefinition definition)
Parameter
Typ | Name | Beschreibung |
---|---|---|
IDefinition | definition | Definition Instance |
RegisterEntity<T>()
Registers a new Entity.
Deklaration
void RegisterEntity<T>()where T : Entity
Typparameter
Name | Beschreibung |
---|---|
T | Entity Type |
RegisterEntityExtender<T>(Action<Entity>)
Adds a new Extender for the given Entity Type.
Deklaration
void RegisterEntityExtender<T>(Action<Entity> extenderDelegate)where T : Entity
Parameter
Typ | Name | Beschreibung |
---|---|---|
Action<Entity> | extenderDelegate | Extender Delegate |
Typparameter
Name | Beschreibung |
---|---|
T | Entity Type |
RegisterMapGenerator(IMapGenerator)
Adds a new Map Generator.
Deklaration
void RegisterMapGenerator(IMapGenerator generator)
Parameter
Typ | Name | Beschreibung |
---|---|---|
IMapGenerator | generator |
RegisterMapPopulator(IMapPopulator)
Deklaration
void RegisterMapPopulator(IMapPopulator populator)
Parameter
Typ | Name | Beschreibung |
---|---|---|
IMapPopulator | populator |
RegisterSimulationExtender(Action<Simulation>)
Adds a new Extender for the simulation.
Deklaration
void RegisterSimulationExtender(Action<Simulation> extenderDelegate)
Parameter
Typ | Name | Beschreibung |
---|---|---|
Action<Simulation> | extenderDelegate |
RemoveDefinition<T>()
Removes an existing Definition Type.
Deklaration
void RemoveDefinition<T>()where T : IDefinition
Typparameter
Name | Beschreibung |
---|---|
T | Definition Type |
RemoveEntity<T>()
Removes an existing Entity Type.
Deklaration
void RemoveEntity<T>()where T : Entity
Typparameter
Name | Beschreibung |
---|---|
T | Entity Type |
RemoveMapGenerator<T>(T)
Removes an existing Map Generator.
Deklaration
void RemoveMapGenerator<T>(T item)where T : IMapGenerator
Parameter
Typ | Name | Beschreibung |
---|---|---|
T | item |
Typparameter
Name | Beschreibung |
---|---|
T | Map Generator Type |
RemoveMapPopulator<T>(T)
Deklaration
void RemoveMapPopulator<T>(T item)where T : IMapPopulator
Parameter
Typ | Name | Beschreibung |
---|---|---|
T | item |
Typparameter
Name | Beschreibung |
---|---|
T |