Skip to content

Commit

Permalink
style: 🎨 divide SafeValue.cs into 5 files
Browse files Browse the repository at this point in the history
  • Loading branch information
shangfengh committed Sep 26, 2023
1 parent 650f2ca commit ca4c889
Show file tree
Hide file tree
Showing 7 changed files with 807 additions and 789 deletions.
15 changes: 3 additions & 12 deletions logic/GameClass/GameObj/Character/Character.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,22 +101,13 @@ public void AddBgm(BgmType bgm, double value)
#endregion
#region 交互相关的基本属性及方法
private readonly int speedOfOpeningOrLocking;
public int SpeedOfOpeningOrLocking
{
get => speedOfOpeningOrLocking;
}
public int SpeedOfOpeningOrLocking => speedOfOpeningOrLocking;

private readonly int speedOfClimbingThroughWindows;
public int SpeedOfClimbingThroughWindows
{
get => speedOfClimbingThroughWindows;
}
public int SpeedOfClimbingThroughWindows => speedOfClimbingThroughWindows;

private readonly int speedOfOpenChest;
public int SpeedOfOpenChest
{
get => speedOfOpenChest;
}
public int SpeedOfOpenChest => speedOfOpenChest;
#endregion
#region 血量相关的基本属性及方法
public LongWithVariableRange HP { get; }
Expand Down
Loading

0 comments on commit ca4c889

Please sign in to comment.