Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
TileTypeBridgePillar.cs
Go to the documentation of this file.
2{
4
5 public override bool CanBuiltOnBlock => true;
6
7 protected override HitResult HitTest(Point pos)
8 {
9 if (pos.cell._bridge == 0)
10 {
11 return HitResult.Invalid;
12 }
13 return base.HitTest(pos);
14 }
15}
HitResult
Definition: HitResult.cs:2
byte _bridge
Definition: Cell.cs:46
Definition: Point.cs:9
Cell cell
Definition: Point.cs:51
override bool CanBuiltOnBlock
override BaseTileSelector.SelectType SelectType
override HitResult HitTest(Point pos)