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

Inherits IPooledParticle, and IParticle.

Public Member Functions

void Draw (ref ParticleRendererSettings settings, SpriteBatch spritebatch)
 
virtual void FetchFromPool ()
 
void Prepare (int itemType, int lifeTimeTotal, Vector2 playerPosition, Vector2 chestPosition)
 
void RestInPool ()
 
void Update (ref ParticleRendererSettings settings)
 
void FetchFromPool ()
 
void RestInPool ()
 
void Draw (ref ParticleRendererSettings settings, SpriteBatch spritebatch)
 
void Update (ref ParticleRendererSettings settings)
 

Public Attributes

Vector2 BezierHelper1
 
Vector2 BezierHelper2
 
Vector2 EndPosition
 
Vector2 StartPosition
 

Properties

bool IsRestingInPool [get]
 
bool ShouldBeRemovedFromRenderer [get]
 
- Properties inherited from IPooledParticle
bool IsRestingInPool [get]
 
- Properties inherited from IParticle
bool ShouldBeRemovedFromRenderer [get]
 

Member Function Documentation

◆ Draw()

void ItemTransferParticle.Draw ( ref ParticleRendererSettings  settings,
SpriteBatch  spritebatch 
)

Implements IParticle.

◆ FetchFromPool()

virtual void ItemTransferParticle.FetchFromPool ( )
virtual

Implements IPooledParticle.

◆ RestInPool()

void ItemTransferParticle.RestInPool ( )

Implements IPooledParticle.

◆ Update()

void ItemTransferParticle.Update ( ref ParticleRendererSettings  settings)

Implements IParticle.

Property Documentation

◆ IsRestingInPool

bool ItemTransferParticle.IsRestingInPool
get

Implements IPooledParticle.

◆ ShouldBeRemovedFromRenderer

bool ItemTransferParticle.ShouldBeRemovedFromRenderer
get

Implements IParticle.