xyginext  0.2.0
Second generation of xygine game creation framework
Public Attributes | List of all members
xy::Particle Struct Referencefinal

Represents a single particle in a system. More...

#include <ParticleEmitter.hpp>

Public Attributes

sf::Vector2f position
 
sf::Vector2f velocity
 
sf::Vector2f gravity
 
float lifetime = 0.f
 
float maxLifetime = 1.f
 
sf::Color colour
 
float rotation = 0.f
 
float scale = 1.f
 

Detailed Description

Represents a single particle in a system.