|
RpgGame
Console Based RPG game in C#
|
Spawns weapons (swords and double swords) at random locations in the dungeon. More...
Public Member Functions | |
| AddWeaponsProcedure (int SwordCount=2, int DoubleSwordCount=1) | |
| Initializes the weapons spawning procedure. | |
| async Task | ApplyAsync (Level level, DungeonContext context) |
| Applies the weapon spawning to the level. | |
Spawns weapons (swords and double swords) at random locations in the dungeon.
This procedure places various sword-type weapons at random walkable positions throughout the level, allowing the player to upgrade their combat capabilities.
|
inline |
Initializes the weapons spawning procedure.
| SwordCount | The number of one-handed swords to spawn. Defaults to 2. |
| DoubleSwordCount | The number of two-handed swords to spawn. Defaults to 1. |
|
inline |
Applies the weapon spawning to the level.
| level | The level being generated. |
| context | Shared generation state. |
Implements RpgGame.Generation.IDungeonProcedure.