Adds a lot more move effects
This commit is contained in:
@@ -32,7 +32,7 @@ public interface IScriptSet : IEnumerable<ScriptContainer>
|
||||
/// Gets a script from the set using its type.
|
||||
/// </summary>
|
||||
T? Get<T>() where T : Script;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Removes a script from the set using its unique name.
|
||||
/// </summary>
|
||||
@@ -43,6 +43,11 @@ public interface IScriptSet : IEnumerable<ScriptContainer>
|
||||
/// </summary>
|
||||
void Clear();
|
||||
|
||||
/// <summary>
|
||||
/// Checks if the set has a script with the given type.
|
||||
/// </summary>
|
||||
bool Contains<T>() where T : Script => Contains(ScriptUtils.ResolveName<T>());
|
||||
|
||||
/// <summary>
|
||||
/// Checks if the set has a script with the given name.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user