Esempio n. 1
0
            /// <summary>
            ///
            /// </summary>
            /// <param name="rr"></param>
            /// <param name="display"></param>
            /// <param name="pt"></param>
            public void drawAfter(RailRoadImpl rr, DrawContext display, Point pt)
            {
                Direction d = rr.direction;

                if (hasBridge && (d == Direction.SOUTH || d == Direction.EAST))
                {
                    PassagewayRail.getFloatingSprite(d.right90).Draw(display.Surface, pt);
                }
            }
Esempio n. 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="rr"></param>
 /// <param name="display"></param>
 /// <param name="pt"></param>
 public void draw(RailRoadImpl rr, DrawContext display, Point pt)
 {
     PassagewayRail.getStairSprite(rr.direction, upward, rr.hasRoof, rr.isDoubleWidth).Draw(display.Surface, pt);
 }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="rr"></param>
 /// <param name="display"></param>
 /// <param name="pt"></param>
 public void draw(RailRoadImpl rr, DrawContext display, Point pt)
 {
     PassagewayRail.getSprite(rr.direction, hasBridge, rr.isDoubleWidth).Draw(display.Surface, pt);
 }