Class: Snow

Snow(xPos, yPos, width, yAcceleration, life, xVelocity, yVelocity, flicker, intensity, xAcceleration, size, yOffset) → {Snow}

new Snow(xPos, yPos, width, yAcceleration, life, xVelocity, yVelocity, flicker, intensity, xAcceleration, size, yOffset) → {Snow}

Default Constructor
Parameters:
Name Type Description
xPos float The x position for the snow
yPos float The y position for the snow
width float The maximum horizontal offset for the snow particles
yAcceleration float The vertical acceleration for the snow paritcles
life float The life for the snow particles
xVelocity float The initial horizontal boost for the snow particles
yVelocity float The initial vertical boost for the snow particles
flicker float How quickly particles shrink
intensity float The # of snow particles created per update cycle
xAcceleration float The horizontal acceleration for the snow paritcles
size float The size for the snow paritcles
yOffset float The maximum vertical offset for the snow paritcles
Source:
Returns:
New instance of Snow object
Type
Snow