tModLoader v2024.11
A mod to make and play Terraria mods
Modifiers.RectangleMask Class Reference

Inherits GenAction.

Public Member Functions

 RectangleMask (int xMin, int xMax, int yMin, int yMax)
 
override bool Apply (Point origin, int x, int y, params object[] args)
 
- Public Member Functions inherited from GenAction
abstract bool Apply (Point origin, int x, int y, params object[] args)
 
GenAction IgnoreFailures ()
 
GenAction Output (ShapeData data)
 
- Public Member Functions inherited from GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)
 

Additional Inherited Members

- Public Attributes inherited from GenAction
GenAction NextAction
 
ShapeData OutputData
 
- Protected Member Functions inherited from GenAction
bool Fail ()
 
bool UnitApply (Point origin, int x, int y, params object[] args)
 
- Properties inherited from GenBase
static UnifiedRandom _random [get]
 
static ref Tilemap _tiles [get]
 
static int _worldHeight [get]
 
static int _worldWidth [get]
 

Member Function Documentation

◆ Apply()

override bool Modifiers.RectangleMask.Apply ( Point  origin,
int  x,
int  y,
params object[]  args 
)
virtual

Implements GenAction.