public Canvas() { TextLocationY = FontSize + (Margin / 2); Balls = new List <Ball>(); BallsInitialValues = new List <Ball>(); Engine = new InertialFrameReference(); Camera = new afgcCamera(WindowWidth, WindowHeight); //Camera.Offset = new System.Numerics.Vector2(0, 0); }
public CanvasManager(Canvas canvas) { _canvas = canvas; _balls = new List<Ball>(); _engine = new InertialFrameReference(); }