tModLoader v2024.04
A mod to make and play Terraria mods
Star Class Reference

Public Member Functions

void Fall ()
void Update ()

Static Public Member Functions

static void NightSetup ()
static void SpawnStars (int s=-1)
static void StarFall (float positionX)
static void UpdateStars ()

Public Attributes

float fadeIn
bool falling
Vector2 fallSpeed
double fallTime
bool hidden
Vector2 position
float rotation
float rotationSpeed
float scale
float twinkle
float twinkleSpeed
int type

Static Public Attributes

static bool dayCheck = false
static float starfallBoost = 1f
static int starFallCount = 0