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

◆ ActuallyPlaceDartTrap()

void Terraria.GameContent.Biomes.DeadMansChestBiome.ActuallyPlaceDartTrap ( Point position,
int directionX,
int x,
int y,
int xPush,
Tile t )
inlineprivate

Definition at line 510 of file DeadMansChestBiome.cs.

511 {
512 t.type = 137;
513 t.frameY = 0;
514 if (directionX == -1)
515 {
516 t.frameX = 18;
517 }
518 else
519 {
520 t.frameX = 0;
521 }
522 t.slope(0);
523 t.halfBrick(halfBrick: false);
524 WorldGen.TileFrame(x, y, resetFrame: true);
525 PlaceWireLine(position, directionX, 0, xPush);
526 }
void PlaceWireLine(Point start, int offsetX, int offsetY, int steps)

References Terraria.Tile.halfBrick(), Terraria.GameContent.Biomes.DeadMansChestBiome.PlaceWireLine(), Terraria.Tile.slope(), and Terraria.WorldGen.TileFrame().

Referenced by Terraria.GameContent.Biomes.DeadMansChestBiome.Place().