Пример #1
0
 public override Image Paint()
 {
     if (Direction != TileDirection.None)
     {
         return(PaintOn(Postfix("EBelt")));
     }
     return(BaseTile.Paint());
 }
Пример #2
0
        public override Image Paint()
        {
            switch (Turn)
            {
            case TurnDirection.Right:
                return(PaintOn("GearRight"));

            case TurnDirection.Left:
                return(PaintOn("GearLeft"));
            }
            return(BaseTile.Paint());
        }
Пример #3
0
        public override Image Paint()
        {
            switch (Direction)
            {
            case TileDirection.Up:
                return(PaintOn("WallUp"));

            case TileDirection.Down:
                return(PaintOn("WallDown"));

            case TileDirection.Left:
                return(PaintOn("WallLeft"));

            case TileDirection.Right:
                return(PaintOn("WallRight"));
            }
            return(BaseTile.Paint());
        }
Пример #4
0
 public override Image Paint()
 {
     return(BaseTile.Paint());
 }