tModLoader v2024.05
A mod to make and play Terraria mods
Conditions.IsTile Class Reference

Inherits GenCondition.

Public Member Functions

 IsTile (params ushort[] types)
 
- Public Member Functions inherited from GenCondition
GenCondition AreaAnd (int width, int height)
 
GenCondition AreaOr (int width, int height)
 
bool IsValid (int x, int y)
 
GenCondition Not ()
 
- Public Member Functions inherited from GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)
 

Protected Member Functions

override bool CheckValidity (int x, int y)
 
abstract bool CheckValidity (int x, int y)
 

Additional Inherited Members

- Properties inherited from GenBase
static UnifiedRandom _random [get]
 
static ref Tilemap _tiles [get]
 
static int _worldHeight [get]
 
static int _worldWidth [get]
 

Member Function Documentation

◆ CheckValidity()

override bool Conditions.IsTile.CheckValidity ( int  x,
int  y 
)
protectedvirtual

Implements GenCondition.