Style cleanup
This commit is contained in:
@@ -105,10 +105,10 @@ public interface IItem : INamedValue
|
||||
/// A set of arbitrary flags that can be set on the item.
|
||||
/// </summary>
|
||||
ImmutableHashSet<StringKey> Flags { get; }
|
||||
|
||||
|
||||
ISecondaryEffect? Effect { get; }
|
||||
ISecondaryEffect? BattleEffect { get; }
|
||||
|
||||
|
||||
byte FlingPower { get; }
|
||||
|
||||
/// <summary>
|
||||
@@ -160,10 +160,6 @@ public class ItemImpl : IItem
|
||||
/// <inheritdoc />
|
||||
public byte FlingPower { get; }
|
||||
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool HasFlag(string key)
|
||||
{
|
||||
return Flags.Contains(key);
|
||||
}
|
||||
public bool HasFlag(string key) => Flags.Contains(key);
|
||||
}
|
||||
Reference in New Issue
Block a user