public PointList(Beanstalk host_) { host = host_; height = 0; lastList = null; nextList = null; }
public PointList(Beanstalk host_, float height_) { host = host_; height = height_; lastList = null; nextList = null; type = ListType.Cap; }
public static PointList MakeRing(Beanstalk host_, float height, PointList lastRing = null) { PointList pl = new PointList(host_, height, lastRing); pl.MakePoints(); pl.MakePolygons(); return(pl); }
public static PointList MakeCap(Beanstalk host_, float height_) { PointList pl = new PointList(host_, height_); pl.type = ListType.Cap; pl.MakePoints(); pl.MakePolygons(); return(pl); }
public PointList(Beanstalk host_, float height_, PointList last) { host = host_; height = height_; nextList = null; if (last != null) { last.nextList = this; } lastList = last; type = ListType.Ring; }