Add map loading logic and spawn rate control
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
namespace Zennysoft.Ma.Adapter;
|
||||
public enum Floor
|
||||
{
|
||||
Overworld,
|
||||
Altar,
|
||||
BossFloorA,
|
||||
BossFloorB,
|
||||
GoddessOfGuidanceFloor,
|
||||
VoidRoom,
|
||||
FinalFloor,
|
||||
Floor01,
|
||||
Floor02,
|
||||
Floor03,
|
||||
Floor04,
|
||||
Floor05,
|
||||
}
|
||||
@@ -17,6 +17,4 @@ public partial record PlayerData
|
||||
[Meta, Id("map_data")]
|
||||
public partial record MapData
|
||||
{
|
||||
[Save("floor_list")]
|
||||
public required Dictionary<Floor, string> FloorScenes { get; init; }
|
||||
}
|
||||
|
||||
@@ -28,4 +28,8 @@
|
||||
<ProjectReference Include="..\Zennysoft.Game.Godot.Implementation\Zennysoft.Game.Implementation.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Map\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user