Пример #1
0
 public BlockAreaEnumerable(Blocks blocks, Rectangle area)
 {
     this.Blocks = blocks;
     this.Area   = area;
 }
Пример #2
0
 internal ProxyWorld(Blocks innerWorld)
 {
     this._innerWorld = innerWorld;
 }
Пример #3
0
 public ProxyWorld(Blocks innerWorld)
 {
     this._innerWorld = innerWorld;
 }
Пример #4
0
 public static void Place(this Blocks blocks, int x, int y, Foreground.Id block, bool enabled)
 {
     blocks.Place(x, y, new ForegroundBlock(block, enabled));
 }
Пример #5
0
 public static void Place(this Blocks blocks, int x, int y, Background.Id block)
 {
     blocks.Place(x, y, new BackgroundBlock(block));
 }
Пример #6
0
 public static void Place(this Blocks blocks, int x, int y, Foreground.Id block, Morph.Id morph)
 {
     blocks.Place(x, y, new ForegroundBlock(block, morph));
 }
Пример #7
0
 public static void Place(this Blocks blocks, int x, int y, Foreground.Id block,
                          uint portalId, uint portalTarget, Morph.Id portalRotation)
 {
     blocks.Place(x, y, new ForegroundBlock(block, portalId, portalTarget, portalRotation));
 }
Пример #8
0
 public static void Place(this Blocks blocks, int x, int y, Foreground.Id block, string text, string textColor)
 {
     blocks.Place(x, y, new ForegroundBlock(block, text, textColor));
 }
Пример #9
0
 public static void Place(this Blocks blocks, int x, int y, Foreground.Id block, string args)
 {
     blocks.Place(x, y, new ForegroundBlock(block, args));
 }
Пример #10
0
 public static void Place(this Blocks blocks, int x, int y, Foreground.Id block, int coinsToCollect)
 {
     blocks.Place(x, y, new ForegroundBlock(block, coinsToCollect));
 }