tModLoader v2024.03
A mod to make and play Terraria mods
LittleFlyingCritterParticle Class Reference

Inherits IPooledParticle, and IParticle.

Public Member Functions

void Draw (ref ParticleRendererSettings settings, SpriteBatch spritebatch)
 
virtual void FetchFromPool ()
 
void Prepare (Vector2 position, int duration)
 
void RestInPool ()
 
void Update (ref ParticleRendererSettings settings)
 
void FetchFromPool ()
 
void RestInPool ()
 
void Draw (ref ParticleRendererSettings settings, SpriteBatch spritebatch)
 
void Update (ref ParticleRendererSettings settings)
 

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 LittleFlyingCritterParticle.Draw ( ref ParticleRendererSettings  settings,
SpriteBatch  spritebatch 
)

Implements IParticle.

◆ FetchFromPool()

virtual void LittleFlyingCritterParticle.FetchFromPool ( )
virtual

Implements IPooledParticle.

◆ RestInPool()

void LittleFlyingCritterParticle.RestInPool ( )

Implements IPooledParticle.

◆ Update()

void LittleFlyingCritterParticle.Update ( ref ParticleRendererSettings  settings)

Implements IParticle.

Property Documentation

◆ IsRestingInPool

bool LittleFlyingCritterParticle.IsRestingInPool
get

Implements IPooledParticle.

◆ ShouldBeRemovedFromRenderer

bool LittleFlyingCritterParticle.ShouldBeRemovedFromRenderer
get

Implements IParticle.