private TidesFlatlandPresenter(Flatland.Canvas canvas) { orbMoon = new DrawOrb(canvas, colorMoon); orbSun = new DrawOrb(canvas, colorSun); segment = new DrawSegment(canvas); earth = new DrawEarth(canvas); }
public DrawEarth(Flatland.Canvas canvas) : base(canvas) { }
public DrawSegment(Flatland.Canvas canvas) : base(canvas) { lineSegment = canvas.Turtle().SetLineColor(Flatland.Colors.Black); endcapPt1 = canvas.Wireframe().SetLineColor(Flatland.Colors.Blue); }
public DrawOrb(Flatland.Canvas canvas, Flatland.Color color) : base(canvas) { wireframe = canvas.Wireframe().SetLineColor(color); }
public DrawObject(Flatland.Canvas canvas) { this.canvas = canvas; }
public static TidesFlatlandPresenter Create(Flatland.Canvas canvas) { return(new TidesFlatlandPresenter(canvas)); }