tModLoader v2024.11
A mod to make and play Terraria mods
Shapes.Circle Class Reference

Inherits GenShape.

Public Member Functions

 Circle (int horizontalRadius, int verticalRadius)
 
 Circle (int radius)
 
override bool Perform (Point origin, GenAction action)
 
void SetRadius (int radius)
 
- Public Member Functions inherited from GenShape
GenShape Output (ShapeData outputData)
 
abstract bool Perform (Point origin, GenAction action)
 
GenShape QuitOnFail (bool value=true)
 
- Public Member Functions inherited from GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)
 

Additional Inherited Members

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

Member Function Documentation

◆ Perform()

override bool Shapes.Circle.Perform ( Point  origin,
GenAction  action 
)
virtual

Implements GenShape.