C# Class Supernova.Particles2D.Patterns.RectangleEmissionPattern

Inheritance: IEmissionPattern
Mostra file Open project: jasonmitchell/supernova

Public Methods

Method Description
CalculateParticlePosition ( Random random, Vector2 emitPosition ) : Vector2
RectangleEmissionPattern ( int width, int height ) : System

Method Details

CalculateParticlePosition() public method

public CalculateParticlePosition ( Random random, Vector2 emitPosition ) : Vector2
random System.Random
emitPosition Vector2
return Vector2

RectangleEmissionPattern() public method

public RectangleEmissionPattern ( int width, int height ) : System
width int
height int
return System