Elin Decompiled Documentation EA 23.359.1 Nightly
Loading...
Searching...
No Matches
TraitDoorTrapBig.cs
Go to the documentation of this file.
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;
11 {
12 return cell.Front.traitDoor as TraitDoorTrapBig;
13 }
15 {
16 return cell.Back.traitDoor as TraitDoorTrapBig;
17 }
19 {
20 return cell.Left.traitDoor as TraitDoorTrapBig;
21 }
23 {
24 return cell.Right.traitDoor as TraitDoorTrapBig;
25 }
26 return null;
27 }
28}
Cell Cell
Definition: Card.cs:2107
Definition: Cell.cs:7
Cell Back
Definition: Cell.cs:175
Cell Front
Definition: Cell.cs:151
TraitDoor traitDoor
Definition: Cell.cs:124
Cell Left
Definition: Cell.cs:187
Cell Right
Definition: Cell.cs:163
override TraitDoorBig GetDoorPair()
override bool UseAltTiles
override TileMode tileMode
virtual bool IsOpen()
Definition: TraitDoor.cs:101
TileMode
Definition: Trait.cs:9
Card owner
Definition: Trait.cs:28