ConsumablesLevelDescriptionComponent
Inherits from LevelDescriptionComponent
Summary
Constructors
Properties
| Name | Type |
|---|---|
| consumables | Consumable[] |
Static members
| Name | Type |
|---|---|
| ConsumablesLevelDescriptionComponent.typeInfo | TypeInformation |
Constructors
ConsumablesLevelDescriptionComponent
ConsumablesLevelDescriptionComponent()
Creates a new ConsumablesLevelDescriptionComponent frostbite instance.
ConsumablesLevelDescriptionComponent
ConsumablesLevelDescriptionComponent(guid: Guid)
Creates a new ConsumablesLevelDescriptionComponent frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
ConsumablesLevelDescriptionComponent
ConsumablesLevelDescriptionComponent(other: LevelDescriptionComponent)
Casts an instance of type LevelDescriptionComponent to ConsumablesLevelDescriptionComponent. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | LevelDescriptionComponent | The instance to cast to ConsumablesLevelDescriptionComponent. |
ConsumablesLevelDescriptionComponent
ConsumablesLevelDescriptionComponent(other: DataContainer)
Casts an instance of type DataContainer to ConsumablesLevelDescriptionComponent. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to ConsumablesLevelDescriptionComponent. |
Properties
consumables
Static members
typeInfo
The type information for the ConsumablesLevelDescriptionComponent type.