Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ActionPlaceStatue.cs
Go to the documentation of this file.
4
6
8{
9 private int _statueIndex;
10
11 public ActionPlaceStatue(int index = -1)
12 {
13 _statueIndex = index;
14 }
15
16 public override bool Apply(Point origin, int x, int y, params object[] args)
17 {
19 WorldGen.PlaceTile(x, y, point.X, mute: true, forced: false, -1, point.Y);
20 return UnitApply(origin, x, y, args);
21 }
22}
override bool Apply(Point origin, int x, int y, params object[] args)
bool UnitApply(Point origin, int x, int y, params object[] args)
Definition GenAction.cs:15
static UnifiedRandom _random
Definition GenBase.cs:9
static Point16[] statueList
Definition GenVars.cs:304
static bool PlaceTile(int i, int j, int Type, bool mute=false, bool forced=false, int plr=-1, int style=0)