public Particle(float x, float y, float mass, float drag, GraphicsWindow pGame) { game = pGame; X = x; Y = y; Mass = mass; Drag = drag; collisionProperties = new Level.CollisionSphere(45, Mass); collisionProperties.Position = position; }
public Particle(GraphicsWindow pGame) { game = pGame; X = game.Width / 2; Y = game.Height / 2; Mass = 10; Drag = 0; collisionProperties = new Level.CollisionSphere(45, Mass); collisionProperties.Position = position; }