VoltAir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
Public Attributes | List of all members
EmitterLogic::SpawnParameters Struct Reference

Parameters to use for creating and initializing spawned entities. More...

Public Attributes

QPointF position
 Position, in world space, at which to spawn the entity. More...
 
QPointF velocity
 Initial velocity to give the spawned entity. More...
 
float decayTime
 Number of seconds, in game time, after which the entity should be destroyed. More...
 

Detailed Description

Parameters to use for creating and initializing spawned entities.

Member Data Documentation

float EmitterLogic::SpawnParameters::decayTime

Number of seconds, in game time, after which the entity should be destroyed.

QPointF EmitterLogic::SpawnParameters::position

Position, in world space, at which to spawn the entity.

QPointF EmitterLogic::SpawnParameters::velocity

Initial velocity to give the spawned entity.