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

◆ AddWallFrameLookup()

static void Terraria.Framing.AddWallFrameLookup ( int lookup,
short point1X,
short point1Y,
short point2X,
short point2Y,
short point3X,
short point3Y,
short point4X,
short point4Y )
inlinestatic

Definition at line 176 of file Framing.cs.

177 {
178 Point16[] array = new Point16[4]
179 {
180 new Point16(point1X * wallFrameSize.X, point1Y * wallFrameSize.Y),
181 new Point16(point2X * wallFrameSize.X, point2Y * wallFrameSize.Y),
182 new Point16(point3X * wallFrameSize.X, point3Y * wallFrameSize.Y),
183 new Point16(point4X * wallFrameSize.X, point4Y * wallFrameSize.Y)
184 };
185 wallFrameLookup[lookup] = array;
186 }
static Point16[][] wallFrameLookup
Definition Framing.cs:35
static Point16 wallFrameSize
Definition Framing.cs:39

References Terraria.Framing.wallFrameLookup, and Terraria.Framing.wallFrameSize.

Referenced by Terraria.Framing.Initialize().