TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ IsHoveringOverABottomSideOfABed()

static bool Terraria.Player.IsHoveringOverABottomSideOfABed ( int myX,
int myY )
inlinestatic

Definition at line 31464 of file Player.cs.

31465 {
31466 short frameX = Main.tile[myX, myY].frameX;
31467 bool flag = frameX / 72 == 1;
31468 bool flag2 = frameX % 72 < 36;
31469 if (flag)
31470 {
31471 flag2 = !flag2;
31472 }
31473 return flag2;
31474 }

References Terraria.Main.tile.

Referenced by Terraria.Player.TileInteractionsMouseOver(), and Terraria.Player.TileInteractionsUse().

+ Here is the caller graph for this function: