tModLoader v2024.10
A mod to make and play Terraria mods
SimpleStructure Class Reference

Inherits GenStructure.

Public Member Functions

 SimpleStructure (params string[] data)
 
 SimpleStructure (string data)
 
SimpleStructure Mirror (bool horizontalMirror, bool verticalMirror)
 
override bool Place (Point origin, StructureMap structures)
 
SimpleStructure SetActions (params GenAction[] actions)
 
abstract bool Place (Point origin, StructureMap structures)
 
- Public Member Functions inherited from GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)
 

Properties

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

Member Function Documentation

◆ Place()

override bool SimpleStructure.Place ( Point  origin,
StructureMap  structures 
)
virtual

Implements GenStructure.