public void addSource(Vector2 position, int period, Particle_Type type) { Source source = new Source(position, period, type); sources.Add(source); }
public void addSource(Vector2 position, int period, Particle_Type type, bool screenCoord) { if(screenCoord) position = (position + new Vector2(boundry.X, boundry.Y)) / particleSize; Source source = new Source(position, period, type); sources.Add(source); }