Esempio n. 1
0
 public BlockAreaEnumerable(Blocks blocks, Rectangle area)
 {
     this.Blocks = blocks;
     this.Area   = area;
 }
Esempio n. 2
0
 internal ProxyWorld(Blocks innerWorld)
 {
     this._innerWorld = innerWorld;
 }
Esempio n. 3
0
 public ProxyWorld(Blocks innerWorld)
 {
     this._innerWorld = innerWorld;
 }
Esempio n. 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));
 }
Esempio n. 5
0
 public static void Place(this Blocks blocks, int x, int y, Background.Id block)
 {
     blocks.Place(x, y, new BackgroundBlock(block));
 }
Esempio n. 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));
 }
Esempio n. 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));
 }
Esempio n. 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));
 }
Esempio n. 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));
 }
Esempio n. 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));
 }