Client LuaCsForBarotrauma
XorComponent.cs
1
namespace
Barotrauma.Items.Components
2
{
3
sealed
class
XorComponent
:
BooleanOperatorComponent
4
{
5
public
XorComponent
(
Item
item
,
ContentXElement
element)
6
: base(
item
, element) { }
7
8
protected
override
bool
GetOutput
(
int
numTrueInputs) => numTrueInputs == 1;
9
}
10
}
Barotrauma.ContentXElement
Definition:
ContentXElement.cs:13
Barotrauma.Item
Definition:
BarotraumaShared/SharedSource/Items/Item.cs:26
Barotrauma.Items.Components.BooleanOperatorComponent
Definition:
BooleanOperatorComponent.cs:7
Barotrauma.Items.Components.ItemComponent.item
Item item
Definition:
BarotraumaShared/SharedSource/Items/Components/ItemComponent.cs:36
Barotrauma.Items.Components.XorComponent
Definition:
XorComponent.cs:4
Barotrauma.Items.Components.XorComponent.XorComponent
XorComponent(Item item, ContentXElement element)
Definition:
XorComponent.cs:5
Barotrauma.Items.Components.XorComponent.GetOutput
override bool GetOutput(int numTrueInputs)
Barotrauma.Items.Components
Definition:
BarotraumaShared/SharedSource/Items/Components/DockingPort.cs:15
Barotrauma
BarotraumaShared
SharedSource
Items
Components
Signal
BooleanOperatorComponent
XorComponent.cs
Generated by
1.9.1