Class ConfigLayoutConflictScope
Scopes conflicts by the action groups the game declared in its ConfigLayout.
Implements
Inherited Members
Namespace: Scylla.Input
Assembly: ScyllaInput.dll
Syntax
public sealed class ConfigLayoutConflictScope : IInputConflictScope
Remarks
Serves the rebinding manager at run time and the actions editor at edit time, which is the point: a controls screen and the editor that authored it agree because they consult the same declaration.
Constructors
ConfigLayoutConflictScope(ConfigLayout)
Initializes a scope over a layout.
Declaration
public ConfigLayoutConflictScope(ConfigLayout layout)
Parameters
| Type | Name | Description |
|---|---|---|
| ConfigLayout | layout | The layout, or |
Properties
Layout
Gets or sets the layout consulted. null makes everything collide.
Declaration
public ConfigLayout Layout { get; set; }
Property Value
| Type | Description |
|---|---|
| ConfigLayout |
Methods
CanScopesCollide(string, string)
Reports whether two scope keys name states that can be live simultaneously.
Declaration
public bool CanScopesCollide(string scopeA, string scopeB)
Parameters
| Type | Name | Description |
|---|---|---|
| string | scopeA | First scope key. |
| string | scopeB | Second scope key. |
Returns
| Type | Description |
|---|---|
| bool |
|
Remarks
Returning true is the conservative answer: it reports the overlap and lets
a human decide. An implementation that cannot tell should say true.