|
WKLib 0.2.3
A modding library for White Knuckle
|
Builds an M_Subregion from a name plus a list of M_Level instances
This builder simplifies the creation of subregion ScriptableObjects.
More...
Collaboration diagram for WKLib.API.Gamemodes.SubRegionBuilder:Public Member Functions | |
| SubRegionBuilder | WithName (string subregionName) |
| Sets the name for the subregion. This name will be used for both display and internal identification. | |
| SubRegionBuilder | WithLevels (List< M_Level > levels) |
| Sets the list of M_Level instances that comprise this subregion. | |
| M_Subregion | Build () |
| Constructs and returns a new M_Subregion instance based on the properties configured in this builder. | |
Builds an M_Subregion from a name plus a list of M_Level instances
This builder simplifies the creation of subregion ScriptableObjects.
Definition at line 11 of file SubRegionBuilder.cs.
| M_Subregion WKLib.API.Gamemodes.SubRegionBuilder.Build | ( | ) |
Constructs and returns a new M_Subregion instance based on the properties configured in this builder.
Definition at line 42 of file SubRegionBuilder.cs.
| SubRegionBuilder WKLib.API.Gamemodes.SubRegionBuilder.WithLevels | ( | List< M_Level > | levels | ) |
Sets the list of M_Level instances that comprise this subregion.
| levels | A List<T> of M_Level instances to be included in the subregion |
Definition at line 32 of file SubRegionBuilder.cs.
| SubRegionBuilder WKLib.API.Gamemodes.SubRegionBuilder.WithName | ( | string | subregionName | ) |
Sets the name for the subregion. This name will be used for both display and internal identification.
| subregionName | The desired name for the subregion |
Definition at line 21 of file SubRegionBuilder.cs.