Elin Decompiled Documentation
EA 23.359.1 Nightly
Loading...
Searching...
No Matches
TraitDoorTrapBig.cs
Go to the documentation of this file.
1
public
class
TraitDoorTrapBig
:
TraitDoorBig
2
{
3
public
override
TileMode
tileMode
=> base.tileMode;
4
5
public
override
bool
UseAltTiles
=>
IsOpen
();
6
7
public
override
TraitDoorBig
GetDoorPair
()
8
{
9
Cell
cell =
owner
.
Cell
;
10
if
(cell.
Front
.
traitDoor
is
TraitDoorTrapBig
)
11
{
12
return
cell.Front.traitDoor as
TraitDoorTrapBig
;
13
}
14
if
(cell.
Back
.
traitDoor
is
TraitDoorTrapBig
)
15
{
16
return
cell.Back.traitDoor as
TraitDoorTrapBig
;
17
}
18
if
(cell.
Left
.
traitDoor
is
TraitDoorTrapBig
)
19
{
20
return
cell.Left.traitDoor as
TraitDoorTrapBig
;
21
}
22
if
(cell.
Right
.
traitDoor
is
TraitDoorTrapBig
)
23
{
24
return
cell.Right.traitDoor as
TraitDoorTrapBig
;
25
}
26
return
null
;
27
}
28
}
Card.Cell
Cell Cell
Definition:
Card.cs:2107
Cell
Definition:
Cell.cs:7
Cell.Back
Cell Back
Definition:
Cell.cs:175
Cell.Front
Cell Front
Definition:
Cell.cs:151
Cell.traitDoor
TraitDoor traitDoor
Definition:
Cell.cs:124
Cell.Left
Cell Left
Definition:
Cell.cs:187
Cell.Right
Cell Right
Definition:
Cell.cs:163
TraitDoorBig
Definition:
TraitDoorBig.cs:2
TraitDoorTrapBig
Definition:
TraitDoorTrapBig.cs:2
TraitDoorTrapBig.GetDoorPair
override TraitDoorBig GetDoorPair()
Definition:
TraitDoorTrapBig.cs:7
TraitDoorTrapBig.UseAltTiles
override bool UseAltTiles
Definition:
TraitDoorTrapBig.cs:5
TraitDoorTrapBig.tileMode
override TileMode tileMode
Definition:
TraitDoorTrapBig.cs:3
TraitDoor.IsOpen
virtual bool IsOpen()
Definition:
TraitDoor.cs:101
Trait.TileMode
TileMode
Definition:
Trait.cs:9
Trait.owner
Card owner
Definition:
Trait.cs:28
Elin
TraitDoorTrapBig.cs
Generated by
1.9.6