public SnakeEngine(SnakeBoard snakeBoard) { Board = snakeBoard; SnakeObj = new SnakeObj(); SnPoints = new List <SnakePoints>(); SnakePointGenerator = new SnakePointGenerator(); }
private void GeneratePoint() { var snPoint = SnakePointGenerator.Generate(); PointObj.Points.Add(snPoint); }